#431E8A#431E8A
#431E8A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.165 H 291.4°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #431E8A |
|---|---|
| RGB | rgb(67, 30, 138) |
| HSL | hsl(261, 64%, 33%) |
| HSV | hsv(261, 78%, 54%) |
| CMYK | cmyk(51.4%, 78.3%, 0%, 45.9%) |
| CIE-LAB | lab(23.53, 42.79, -53.36) |
| CIE-LCH | lch(23.53, 68.40, 308.73°) |
| OKLab | oklab(36% 0.0601 -0.1532) |
| OKLCH | oklch(36% 0.165 291.4) |
| XYZ | xyz(7.3652, 3.9565, 24.4154) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.40
Indigo (survey)
#380282
ΔE00 4.43
Indigo Blue
#3A18B1
ΔE00 5.75
Royal
#0C1793
ΔE00 5.96
Royal Purple (survey)
#4B006E
ΔE00 6.73
Midnight Blue
#191970
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431E8A #658A1E
analogous
#1E2F8A #431E8A #791E8A
triadic
#431E8A #8A431E #1E8A43
tetradic
#431E8A #8A1E2F #658A1E #1E8A79
square
#431E8A #8A1E2F #658A1E #1E8A79
split-complementary
#431E8A #8A791E #2F8A1E
monochromatic
#120825 #2B1358 #431E8A #5B29BC #7B4BD8
Accessibility & contrast
On white
11.72
#431E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#431E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431E8A
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431E8A | 1.00 | 11.72 | 1.79 | 11.72 |
| #FFFFFF | 11.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#2B3C53
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #431e8a; /* rgb */ color: rgb(67, 30, 138); /* oklch */ color: oklch(36.0% 0.165 291.4);
Tailwind
colors: {
custom: {
50: '#7f5ead',
500: '#431e8a',
950: '#000000',
},
}SCSS
$custom: #431e8a; $custom-light: #7f5ead; $custom-dark: #000000;
JSON
{
"hex": "#431e8a",
"rgb": {
"r": 67,
"g": 30,
"b": 138
},
"hsl": {
"h": 260.556,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.36005,
"c": 0.16462,
"h": 291.4
},
"luminance": 0.03957
}Semantic roles & 50–950 ramp
primary
#431E8A
secondary
#94BA4A
accent
#E741AE
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F