#431E97#431E97
#431E97 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.180 H 288.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #431E97 |
|---|---|
| RGB | rgb(67, 30, 151) |
| HSL | hsl(258, 67%, 35%) |
| HSV | hsv(258, 80%, 59%) |
| CMYK | cmyk(55.6%, 80.1%, 0%, 40.8%) |
| CIE-LAB | lab(24.81, 46.47, -59.30) |
| CIE-LCH | lch(24.81, 75.33, 308.08°) |
| OKLab | oklab(37.29% 0.0561 -0.1706) |
| OKLCH | oklch(37.29% 0.18 288.2) |
| XYZ | xyz(8.3633, 4.3558, 29.6722) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.80
Indigo (survey)
#380282
ΔE00 5.20
Indigo
#4B0082
ΔE00 5.36
Royal
#0C1793
ΔE00 5.52
Ultramarine
#2000B1
ΔE00 5.68
Cobalt Blue
#030AA7
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431E97 #72971E
analogous
#1E3597 #431E97 #7F1E97
triadic
#431E97 #97431E #1E9743
tetradic
#431E97 #971E35 #72971E #1E977F
square
#431E97 #971E35 #72971E #1E977F
split-complementary
#431E97 #977F1E #35971E
monochromatic
#160A31 #2C1464 #431E97 #5A28CA #7D53DD
Accessibility & contrast
On white
11.22
#431E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#431E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431E97
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431E97 | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#20415A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #431e97; /* rgb */ color: rgb(67, 30, 151); /* oklch */ color: oklch(37.3% 0.180 288.2);
Tailwind
colors: {
custom: {
50: '#815fb7',
500: '#431e97',
950: '#000000',
},
}SCSS
$custom: #431e97; $custom-light: #815fb7; $custom-dark: #000000;
JSON
{
"hex": "#431e97",
"rgb": {
"r": 67,
"g": 30,
"b": 151
},
"hsl": {
"h": 258.347,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.37293,
"c": 0.17962,
"h": 288.2
},
"luminance": 0.04356
}Semantic roles & 50–950 ramp
primary
#431E97
secondary
#9EC051
accent
#EA3EB5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980