#631F99#631F99
#631F99 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.184 H 304.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #631F99 |
|---|---|
| RGB | rgb(99, 31, 153) |
| HSL | hsl(273, 66%, 36%) |
| HSV | hsv(273, 80%, 60%) |
| CMYK | cmyk(35.3%, 79.7%, 0%, 40%) |
| CIE-LAB | lab(29.24, 51.46, -53.11) |
| CIE-LCH | lch(29.24, 73.95, 314.10°) |
| OKLab | oklab(41.34% 0.1042 -0.1514) |
| OKLCH | oklch(41.34% 0.184 304.5) |
| XYZ | xyz(11.3840, 5.9326, 30.6762) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.91
Purple (survey)
#7E1E9C
ΔE00 5.12
Indigo
#4B0082
ΔE00 6.40
Indigo Blue
#3A18B1
ΔE00 7.40
Violet Blue
#510AC9
ΔE00 7.46
Purple Blue
#5D21D0
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#631F99 #55991F
analogous
#261F99 #631F99 #991F92
triadic
#631F99 #99631F #1F9963
tetradic
#631F99 #99261F #55991F #1F9299
square
#631F99 #99261F #55991F #1F9299
split-complementary
#631F99 #92991F #1F9926
monochromatic
#210A33 #421566 #631F99 #8429CC #A156DD
Accessibility & contrast
On white
9.60
#631F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#631F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #631F99
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##631F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##631F99 | 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)
#00439C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#583F5C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #631f99; /* rgb */ color: rgb(99, 31, 153); /* oklch */ color: oklch(41.3% 0.184 304.5);
Tailwind
colors: {
custom: {
50: '#9563b8',
500: '#631f99',
950: '#000000',
},
}SCSS
$custom: #631f99; $custom-light: #9563b8; $custom-dark: #000000;
JSON
{
"hex": "#631f99",
"rgb": {
"r": 99,
"g": 31,
"b": 153
},
"hsl": {
"h": 273.443,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.41342,
"c": 0.18375,
"h": 304.5
},
"luminance": 0.05933
}Semantic roles & 50–950 ramp
primary
#631F99
secondary
#84C054
accent
#E93F8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80