#631B9F#631B9F
#631B9F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.5% C 0.193 H 303.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #631B9F |
|---|---|
| RGB | rgb(99, 27, 159) |
| HSL | hsl(273, 71%, 36%) |
| HSV | hsv(273, 83%, 62%) |
| CMYK | cmyk(37.7%, 83%, 0%, 37.6%) |
| CIE-LAB | lab(29.26, 54.30, -56.74) |
| CIE-LCH | lch(29.26, 78.54, 313.74°) |
| OKLab | oklab(41.51% 0.1055 -0.162) |
| OKLCH | oklch(41.51% 0.193 303.1) |
| XYZ | xyz(11.7940, 5.9397, 33.3193) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.56
Purple (survey)
#7E1E9C
ΔE00 5.46
Violet Blue
#510AC9
ΔE00 6.46
Indigo
#4B0082
ΔE00 6.49
Indigo Blue
#3A18B1
ΔE00 6.70
Purple Blue
#5D21D0
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#631B9F #579F1B
analogous
#211B9F #631B9F #9F1B99
triadic
#631B9F #9F631B #1B9F63
tetradic
#631B9F #9F211B #579F1B #1B999F
square
#631B9F #9F211B #579F1B #1B999F
split-complementary
#631B9F #999F1B #1B9F21
monochromatic
#220936 #42126B #631B9F #8424D3 #A153E2
Accessibility & contrast
On white
9.60
#631B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#631B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #631B9F
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##631B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##631B9F | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#56405F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #631b9f; /* rgb */ color: rgb(99, 27, 159); /* oklch */ color: oklch(41.5% 0.193 303.1);
Tailwind
colors: {
custom: {
50: '#9662bc',
500: '#631b9f',
950: '#000000',
},
}SCSS
$custom: #631b9f; $custom-light: #9662bc; $custom-dark: #000000;
JSON
{
"hex": "#631b9f",
"rgb": {
"r": 99,
"g": 27,
"b": 159
},
"hsl": {
"h": 272.727,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.41514,
"c": 0.19334,
"h": 303.1
},
"luminance": 0.0594
}Semantic roles & 50–950 ramp
primary
#631B9F
secondary
#86C551
accent
#EE3A8C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81