#631EA7#631EA7
#631EA7 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.199 H 300.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #631EA7 |
|---|---|
| RGB | rgb(99, 30, 167) |
| HSL | hsl(270, 70%, 39%) |
| HSV | hsv(270, 82%, 65%) |
| CMYK | cmyk(40.7%, 82%, 0%, 34.5%) |
| CIE-LAB | lab(30.33, 55.13, -59.83) |
| CIE-LCH | lch(30.33, 81.36, 312.66°) |
| OKLab | oklab(42.47% 0.1008 -0.1711) |
| OKLCH | oklch(42.47% 0.199 300.5) |
| XYZ | xyz(12.5832, 6.3711, 37.1185) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.59
Violet Blue
#510AC9
ΔE00 5.47
Purple Blue
#5D21D0
ΔE00 5.81
Purple (survey)
#7E1E9C
ΔE00 5.85
Indigo Blue
#3A18B1
ΔE00 6.18
Indigo
#4B0082
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#631EA7 #62A71E
analogous
#1E1EA7 #631EA7 #A71EA6
triadic
#631EA7 #A7631E #1EA763
tetradic
#631EA7 #A71E1E #62A71E #1EA6A7
square
#631EA7 #A71E1E #62A71E #1EA6A7
split-complementary
#631EA7 #A6A71E #1EA71E
monochromatic
#250B3F #441573 #631EA7 #822AD9 #A05DE2
Accessibility & contrast
On white
9.23
#631EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#631EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #631EA7
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##631EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##631EA7 | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#534564
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #631ea7; /* rgb */ color: rgb(99, 30, 167); /* oklch */ color: oklch(42.5% 0.199 300.5);
Tailwind
colors: {
custom: {
50: '#9664c2',
500: '#631ea7',
950: '#000000',
},
}SCSS
$custom: #631ea7; $custom-light: #9664c2; $custom-dark: #000000;
JSON
{
"hex": "#631ea7",
"rgb": {
"r": 99,
"g": 30,
"b": 167
},
"hsl": {
"h": 270.219,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.42474,
"c": 0.1986,
"h": 300.5
},
"luminance": 0.06371
}Semantic roles & 50–950 ramp
primary
#631EA7
secondary
#90C65B
accent
#EC3B93
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82