#631A9E#631A9E
#631A9E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.193 H 303.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #631A9E |
|---|---|
| RGB | rgb(99, 26, 158) |
| HSL | hsl(273, 72%, 36%) |
| HSV | hsv(273, 84%, 62%) |
| CMYK | cmyk(37.3%, 83.5%, 0%, 38%) |
| CIE-LAB | lab(29.06, 54.41, -56.46) |
| CIE-LCH | lch(29.06, 78.41, 313.94°) |
| OKLab | oklab(41.35% 0.1065 -0.1612) |
| OKLCH | oklch(41.35% 0.193 303.5) |
| XYZ | xyz(11.6851, 5.8601, 32.8566) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.66
Purple (survey)
#7E1E9C
ΔE00 5.44
Indigo
#4B0082
ΔE00 6.33
Violet Blue
#510AC9
ΔE00 6.59
Indigo Blue
#3A18B1
ΔE00 6.77
Purple Blue
#5D21D0
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#631A9E #559E1A
analogous
#211A9E #631A9E #9E1A97
triadic
#631A9E #9E631A #1A9E63
tetradic
#631A9E #9E211A #559E1A #1A979E
square
#631A9E #9E211A #559E1A #1A979E
split-complementary
#631A9E #979E1A #1A9E21
monochromatic
#210935 #421169 #631A9E #8423D3 #A150E2
Accessibility & contrast
On white
9.67
#631A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#631A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #631A9E
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##631A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##631A9E | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#573F5E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #631a9e; /* rgb */ color: rgb(99, 26, 158); /* oklch */ color: oklch(41.3% 0.193 303.5);
Tailwind
colors: {
custom: {
50: '#9661bc',
500: '#631a9e',
950: '#000000',
},
}SCSS
$custom: #631a9e; $custom-light: #9661bc; $custom-dark: #000000;
JSON
{
"hex": "#631a9e",
"rgb": {
"r": 99,
"g": 26,
"b": 158
},
"hsl": {
"h": 273.182,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.41346,
"c": 0.19322,
"h": 303.5
},
"luminance": 0.0586
}Semantic roles & 50–950 ramp
primary
#631A9E
secondary
#84C54F
accent
#EE398A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81