#631E99#631E99
#631E99 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.185 H 304.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #631E99 |
|---|---|
| RGB | rgb(99, 30, 153) |
| HSL | hsl(274, 67%, 36%) |
| HSV | hsv(274, 80%, 60%) |
| CMYK | cmyk(35.3%, 80.4%, 0%, 40%) |
| CIE-LAB | lab(29.11, 51.84, -53.32) |
| CIE-LCH | lch(29.11, 74.37, 314.19°) |
| OKLab | oklab(41.25% 0.105 -0.152) |
| OKLCH | oklch(41.25% 0.185 304.6) |
| XYZ | xyz(11.3583, 5.8812, 30.6676) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.05
Purple (survey)
#7E1E9C
ΔE00 5.14
Indigo
#4B0082
ΔE00 6.30
Indigo Blue
#3A18B1
ΔE00 7.37
Violet Blue
#510AC9
ΔE00 7.43
Purple Blue
#5D21D0
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#631E99 #54991E
analogous
#261E99 #631E99 #991E91
triadic
#631E99 #99631E #1E9963
tetradic
#631E99 #99261E #54991E #1E9199
square
#631E99 #99261E #54991E #1E9199
split-complementary
#631E99 #91991E #1E9926
monochromatic
#210A33 #421466 #631E99 #8428CC #A154DD
Accessibility & contrast
On white
9.65
#631E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#631E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #631E99
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##631E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##631E99 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#583F5C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #631e99; /* rgb */ color: rgb(99, 30, 153); /* oklch */ color: oklch(41.3% 0.185 304.6);
Tailwind
colors: {
custom: {
50: '#9563b8',
500: '#631e99',
950: '#000000',
},
}SCSS
$custom: #631e99; $custom-light: #9563b8; $custom-dark: #000000;
JSON
{
"hex": "#631e99",
"rgb": {
"r": 99,
"g": 30,
"b": 153
},
"hsl": {
"h": 273.659,
"s": 67.213,
"l": 35.882
},
"oklch": {
"l": 0.4125,
"c": 0.18473,
"h": 304.6
},
"luminance": 0.05881
}Semantic roles & 50–950 ramp
primary
#631E99
secondary
#83C152
accent
#EA3E89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80