#431F96#431F96
#431F96 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.178 H 288.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #431F96 |
|---|---|
| RGB | rgb(67, 31, 150) |
| HSL | hsl(258, 66%, 35%) |
| HSV | hsv(258, 79%, 59%) |
| CMYK | cmyk(55.3%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(24.87, 45.72, -58.58) |
| CIE-LCH | lch(24.87, 74.31, 307.97°) |
| OKLab | oklab(37.3% 0.0558 -0.1685) |
| OKLCH | oklch(37.3% 0.178 288.3) |
| XYZ | xyz(8.3081, 4.3749, 29.2549) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.98
Indigo (survey)
#380282
ΔE00 5.26
Indigo
#4B0082
ΔE00 5.41
Royal
#0C1793
ΔE00 5.56
Ultramarine
#2000B1
ΔE00 5.88
Cobalt Blue
#030AA7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431F96 #72961F
analogous
#1F3796 #431F96 #7E1F96
triadic
#431F96 #96431F #1F9643
tetradic
#431F96 #961F37 #72961F #1F967E
square
#431F96 #961F37 #72961F #1F967E
split-complementary
#431F96 #967E1F #37961F
monochromatic
#160A31 #2C1563 #431F96 #5A29C9 #7D54DC
Accessibility & contrast
On white
11.20
#431F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#431F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431F96
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431F96 | 1.00 | 11.20 | 1.88 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#21415A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #431f96; /* rgb */ color: rgb(67, 31, 150); /* oklch */ color: oklch(37.3% 0.178 288.3);
Tailwind
colors: {
custom: {
50: '#8160b6',
500: '#431f96',
950: '#000000',
},
}SCSS
$custom: #431f96; $custom-light: #8160b6; $custom-dark: #000000;
JSON
{
"hex": "#431f96",
"rgb": {
"r": 67,
"g": 31,
"b": 150
},
"hsl": {
"h": 258.151,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.37304,
"c": 0.17753,
"h": 288.3
},
"luminance": 0.04375
}Semantic roles & 50–950 ramp
primary
#431F96
secondary
#9EBF52
accent
#E93FB5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980