#431B8B#431B8B
#431B8B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.169 H 291.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #431B8B |
|---|---|
| RGB | rgb(67, 27, 139) |
| HSL | hsl(261, 67%, 33%) |
| HSV | hsv(261, 81%, 55%) |
| CMYK | cmyk(51.8%, 80.6%, 0%, 45.5%) |
| CIE-LAB | lab(23.14, 44.47, -54.62) |
| CIE-LCH | lch(23.14, 70.43, 309.15°) |
| OKLab | oklab(35.76% 0.0622 -0.1569) |
| OKLCH | oklch(35.76% 0.169 291.6) |
| XYZ | xyz(7.3655, 3.8409, 24.7744) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.95
Indigo
#4B0082
ΔE00 3.95
Indigo Blue
#3A18B1
ΔE00 5.54
Royal
#0C1793
ΔE00 5.82
Royal Purple (survey)
#4B006E
ΔE00 6.51
Cobalt Blue
#030AA7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431B8B #638B1B
analogous
#1B2B8B #431B8B #7B1B8B
triadic
#431B8B #8B431B #1B8B43
tetradic
#431B8B #8B1B2B #638B1B #1B8B7B
square
#431B8B #8B1B2B #638B1B #1B8B7B
split-complementary
#431B8B #8B7B1B #2B8B1B
monochromatic
#120725 #2A1158 #431B8B #5C25BE #7B45DB
Accessibility & contrast
On white
11.88
#431B8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#431B8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431B8B
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431B8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431B8B | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#2A3B53
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #431b8b; /* rgb */ color: rgb(67, 27, 139); /* oklch */ color: oklch(35.8% 0.169 291.6);
Tailwind
colors: {
custom: {
50: '#805dae',
500: '#431b8b',
950: '#000000',
},
}SCSS
$custom: #431b8b; $custom-light: #805dae; $custom-dark: #000000;
JSON
{
"hex": "#431b8b",
"rgb": {
"r": 67,
"g": 27,
"b": 139
},
"hsl": {
"h": 261.429,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.35764,
"c": 0.16878,
"h": 291.6
},
"luminance": 0.03841
}Semantic roles & 50–950 ramp
primary
#431B8B
secondary
#92BC45
accent
#EA3DAD
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F