#431D8C#431D8C
#431D8C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.168 H 291.1°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #431D8C |
|---|---|
| RGB | rgb(67, 29, 140) |
| HSL | hsl(261, 66%, 33%) |
| HSV | hsv(261, 79%, 55%) |
| CMYK | cmyk(52.1%, 79.3%, 0%, 45.1%) |
| CIE-LAB | lab(23.56, 43.83, -54.56) |
| CIE-LCH | lch(23.56, 69.98, 308.78°) |
| OKLab | oklab(36.09% 0.0603 -0.1567) |
| OKLCH | oklch(36.09% 0.168 291.1) |
| XYZ | xyz(7.4864, 3.9652, 25.1768) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.32
Indigo
#4B0082
ΔE00 4.33
Indigo Blue
#3A18B1
ΔE00 5.41
Royal
#0C1793
ΔE00 5.80
Cobalt Blue
#030AA7
ΔE00 6.74
Ultramarine
#2000B1
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431D8C #668C1D
analogous
#1D2E8C #431D8C #7A1D8C
triadic
#431D8C #8C431D #1D8C43
tetradic
#431D8C #8C1D2E #668C1D #1D8C7A
square
#431D8C #8C1D2E #668C1D #1D8C7A
split-complementary
#431D8C #8C7A1D #2E8C1D
monochromatic
#120827 #2B1259 #431D8C #5B28BF #7B4AD9
Accessibility & contrast
On white
11.71
#431D8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#431D8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431D8C
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431D8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431D8C | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#293C54
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #431d8c; /* rgb */ color: rgb(67, 29, 140); /* oklch */ color: oklch(36.1% 0.168 291.1);
Tailwind
colors: {
custom: {
50: '#805eaf',
500: '#431d8c',
950: '#000000',
},
}SCSS
$custom: #431d8c; $custom-light: #805eaf; $custom-dark: #000000;
JSON
{
"hex": "#431d8c",
"rgb": {
"r": 67,
"g": 29,
"b": 140
},
"hsl": {
"h": 260.541,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.36085,
"c": 0.16795,
"h": 291.1
},
"luminance": 0.03965
}Semantic roles & 50–950 ramp
primary
#431D8C
secondary
#94BC49
accent
#E93FAF
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0510
muted
#7C797F