#431B8E#431B8E
#431B8E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.172 H 290.8°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #431B8E |
|---|---|
| RGB | rgb(67, 27, 142) |
| HSL | hsl(261, 68%, 33%) |
| HSV | hsv(261, 81%, 56%) |
| CMYK | cmyk(52.8%, 81%, 0%, 44.3%) |
| CIE-LAB | lab(23.44, 45.30, -56.00) |
| CIE-LCH | lch(23.44, 72.03, 308.97°) |
| OKLab | oklab(36.06% 0.0612 -0.1609) |
| OKLCH | oklch(36.06% 0.172 290.8) |
| XYZ | xyz(7.5878, 3.9298, 25.9447) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.09
Indigo
#4B0082
ΔE00 4.16
Indigo Blue
#3A18B1
ΔE00 5.08
Royal
#0C1793
ΔE00 5.66
Ultramarine
#2000B1
ΔE00 6.37
Cobalt Blue
#030AA7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431B8E #668E1B
analogous
#1B2C8E #431B8E #7C1B8E
triadic
#431B8E #8E431B #1B8E43
tetradic
#431B8E #8E1B2C #668E1B #1B8E7C
square
#431B8E #8E1B2C #668E1B #1B8E7C
split-complementary
#431B8E #8E7C1B #2C8E1B
monochromatic
#120727 #2B115B #431B8E #5B25C1 #7B47DC
Accessibility & contrast
On white
11.76
#431B8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#431B8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431B8E
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431B8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431B8E | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#283C55
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #431b8e; /* rgb */ color: rgb(67, 27, 142); /* oklch */ color: oklch(36.1% 0.172 290.8);
Tailwind
colors: {
custom: {
50: '#805db0',
500: '#431b8e',
950: '#000000',
},
}SCSS
$custom: #431b8e; $custom-light: #805db0; $custom-dark: #000000;
JSON
{
"hex": "#431b8e",
"rgb": {
"r": 67,
"g": 27,
"b": 142
},
"hsl": {
"h": 260.87,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.36063,
"c": 0.17218,
"h": 290.8
},
"luminance": 0.0393
}Semantic roles & 50–950 ramp
primary
#431B8E
secondary
#94BE47
accent
#EB3DAE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980