#631B9E#631B9E
#631B9E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.192 H 303.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #631B9E |
|---|---|
| RGB | rgb(99, 27, 158) |
| HSL | hsl(273, 71%, 36%) |
| HSV | hsv(273, 83%, 62%) |
| CMYK | cmyk(37.3%, 82.9%, 0%, 38%) |
| CIE-LAB | lab(29.17, 54.07, -56.28) |
| CIE-LCH | lch(29.17, 78.04, 313.86°) |
| OKLab | oklab(41.43% 0.1058 -0.1606) |
| OKLCH | oklch(41.43% 0.192 303.4) |
| XYZ | xyz(11.7076, 5.9051, 32.8641) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.54
Purple (survey)
#7E1E9C
ΔE00 5.41
Indigo
#4B0082
ΔE00 6.41
Violet Blue
#510AC9
ΔE00 6.61
Indigo Blue
#3A18B1
ΔE00 6.79
Purple Blue
#5D21D0
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#631B9E #569E1B
analogous
#221B9E #631B9E #9E1B98
triadic
#631B9E #9E631B #1B9E63
tetradic
#631B9E #9E221B #569E1B #1B989E
square
#631B9E #9E221B #569E1B #1B989E
split-complementary
#631B9E #989E1B #1B9E22
monochromatic
#220935 #42126A #631B9E #8424D2 #A152E1
Accessibility & contrast
On white
9.63
#631B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#631B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #631B9E
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##631B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##631B9E | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#57405E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #631b9e; /* rgb */ color: rgb(99, 27, 158); /* oklch */ color: oklch(41.4% 0.192 303.4);
Tailwind
colors: {
custom: {
50: '#9662bc',
500: '#631b9e',
950: '#000000',
},
}SCSS
$custom: #631b9e; $custom-light: #9662bc; $custom-dark: #000000;
JSON
{
"hex": "#631b9e",
"rgb": {
"r": 99,
"g": 27,
"b": 158
},
"hsl": {
"h": 272.977,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.41426,
"c": 0.19237,
"h": 303.4
},
"luminance": 0.05905
}Semantic roles & 50–950 ramp
primary
#631B9E
secondary
#85C451
accent
#EE3A8B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81