#631F9E#631F9E
#631F9E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.189 H 303.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #631F9E |
|---|---|
| RGB | rgb(99, 31, 158) |
| HSL | hsl(272, 67%, 37%) |
| HSV | hsv(272, 80%, 62%) |
| CMYK | cmyk(37.3%, 80.4%, 0%, 38%) |
| CIE-LAB | lab(29.67, 52.63, -55.47) |
| CIE-LCH | lch(29.67, 76.47, 313.50°) |
| OKLab | oklab(41.77% 0.1028 -0.1583) |
| OKLCH | oklch(41.77% 0.189 303) |
| XYZ | xyz(11.8057, 6.1012, 32.8968) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.00
Purple (survey)
#7E1E9C
ΔE00 5.31
Violet Blue
#510AC9
ΔE00 6.73
Indigo
#4B0082
ΔE00 6.76
Indigo Blue
#3A18B1
ΔE00 6.90
Purple Blue
#5D21D0
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#631F9E #5A9E1F
analogous
#231F9E #631F9E #9E1F9A
triadic
#631F9E #9E631F #1F9E63
tetradic
#631F9E #9E231F #5A9E1F #1F9A9E
square
#631F9E #9E231F #5A9E1F #1F9A9E
split-complementary
#631F9E #9A9E1F #1F9E23
monochromatic
#230B38 #43156B #631F9E #8329D1 #A059DE
Accessibility & contrast
On white
9.46
#631F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#631F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #631F9E
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##631F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##631F9E | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#57415F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #631f9e; /* rgb */ color: rgb(99, 31, 158); /* oklch */ color: oklch(41.8% 0.189 303.0);
Tailwind
colors: {
custom: {
50: '#9564bc',
500: '#631f9e',
950: '#000000',
},
}SCSS
$custom: #631f9e; $custom-light: #9564bc; $custom-dark: #000000;
JSON
{
"hex": "#631f9e",
"rgb": {
"r": 99,
"g": 31,
"b": 158
},
"hsl": {
"h": 272.126,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.4177,
"c": 0.18874,
"h": 303
},
"luminance": 0.06101
}Semantic roles & 50–950 ramp
primary
#631F9E
secondary
#89C256
accent
#EA3E8E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81