331FB2

#331FB2 closest to Galactic Highway

#331FB2 is a dark, vivid purple; the closest named color is Galactic Highway. In the RGB color model it is made of 20.0% red, 12.2% green and 69.8% blue (rgb(51, 31, 178)). Its HSL value is 248° hue, 70% saturation and 41% lightness, and in CMYK it is 71% cyan, 83% magenta, 0% yellow and 30% black. #331FB2 is a cool color. White text reads best on it, with a contrast ratio of 10.61:1.

#331FB2 color conversion

HEX
RGB
HSL
HSB / HSV
HWB
CMYK
XYZ
CIELAB
CIELCh
CIELUV
OKLCH

Variations of #331FB2

Shades

Mixed with black: richer and darker.

Tints

Mixed with white: lighter and softer.

Tones

Mixed with gray: calmer and more muted.

Hues

The same lightness and chroma, rotated around the color wheel.

Temperatures

Cooler on the left, warmer on the right.

#331FB2 color harmonies

Complementary

The opposite hue — maximum contrast and energy.

Open in generator →

Split complementary

The two hues next to the complement — contrast with less tension.

Open in generator →

Analogous

Neighbouring hues — calm, cohesive and natural.

Open in generator →

Triadic

Three hues evenly spaced at 120° — vibrant yet balanced.

Open in generator →

Tetradic

Two complementary pairs — rich, best with one dominant color.

Open in generator →

Square

Four hues spaced at 90° — bold and playful.

Open in generator →

#331FB2 for color-blind viewers (and dogs)

How #331FB2 appears with each type of color vision deficiency (Machado 2009 model) — and to your dog. Try the dog vision simulator →

  • Dog vision 89% similarHow dogs see it · simulated as #0038B0
  • Protanopia 85% similar1.3% of men, 0.02% of women · simulated as #0045B6
  • Protanomaly 88% similar1.3% of men, 0.02% of women · simulated as #003CB4
  • Deuteranopia 89% similar1.2% of men, 0.01% of women · simulated as #0038B0
  • Deuteranomaly 90% similar5% of men, 0.35% of women · simulated as #0033B1
  • Tritanopia 67% similar0.001% of men, 0.03% of women · simulated as #004E6A
  • Tritanomaly 87% similar0.0001% of men, 0.0001% of women · simulated as #193897
  • Achromatopsia 57% similar0.003% of men, 0.003% of women · simulated as #3F3F3F
  • Achromatomaly 74% similar0.001% of men, 0.001% of women · simulated as #3C386B

#331FB2 contrast checker

AaThe quick brown fox jumps over the lazy dog.
10.61:1 Very good#331FB2 text on white
AA normalPassAAA normalPass
AA largePassAAA largePass
AaThe quick brown fox jumps over the lazy dog.
1.98:1 Very poor#331FB2 text on black
AA normalFailAAA normalFail
AA largeFailAAA largeFail

Need another background? Pick any pair in the palette generator and open the contrast panel.

Colors similar to #331FB2

Palettes with #331FB2

#331FB2 in CSS

/* Galactic Highway */
.color { color: #331FB2; }
.background { background-color: #331FB2; }
.border { border: 1px solid #331FB2; }

/* Other notations */
color: rgb(51 31 178);
color: hsl(248 70% 41%);
color: oklch(0.389 0.212 276.2);

#331FB2 FAQ

What color is #331FB2?

#331FB2 is a dark, vivid purple. Its closest named color is Galactic Highway. It belongs to the purple color family and is a cool color.

What is the RGB value of #331FB2?

#331FB2 is rgb(51, 31, 178) in RGB, hsl(248, 70%, 41%) in HSL and cmyk(71%, 83%, 0%, 30%) in CMYK.

What is the complementary color of #331FB2?

The complementary color of #331FB2 is #9EB21F, which sits opposite it on the color wheel.

Which text color works on #331FB2?

White text has the best contrast on #331FB2: 10.61:1, which meets the WCAG AA requirement of 4.5:1 for normal text.

Is #331FB2 a warm or cool color?

#331FB2 is a cool color.