#431D7F#431D7F
#431D7F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.153 H 294.8°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #431D7F |
|---|---|
| RGB | rgb(67, 29, 127) |
| HSL | hsl(263, 63%, 31%) |
| HSV | hsv(263, 77%, 50%) |
| CMYK | cmyk(47.2%, 77.2%, 0%, 50.2%) |
| CIE-LAB | lab(22.32, 40.19, -48.42) |
| CIE-LCH | lch(22.32, 62.93, 309.69°) |
| OKLab | oklab(34.84% 0.0641 -0.1388) |
| OKLCH | oklch(34.84% 0.153 294.8) |
| XYZ | xyz(6.5838, 3.6041, 20.4233) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.04
Indigo (survey)
#380282
ΔE00 4.37
Royal Purple (survey)
#4B006E
ΔE00 5.45
Midnight Blue
#191970
ΔE00 6.51
Royal
#0C1793
ΔE00 6.92
Indigo Blue
#3A18B1
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431D7F #597F1D
analogous
#1D287F #431D7F #741D7F
triadic
#431D7F #7F431D #1D7F43
tetradic
#431D7F #7F1D28 #597F1D #1D7F74
square
#431D7F #7F1D28 #597F1D #1D7F74
split-complementary
#431D7F #7F741D #287F1D
monochromatic
#0E061B #29124D #431D7F #5D28B1 #7B42D4
Accessibility & contrast
On white
12.20
#431D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#431D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431D7F
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431D7F | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#32374D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #431d7f; /* rgb */ color: rgb(67, 29, 127); /* oklch */ color: oklch(34.8% 0.153 294.8);
Tailwind
colors: {
custom: {
50: '#7e5da5',
500: '#431d7f',
950: '#000000',
},
}SCSS
$custom: #431d7f; $custom-light: #7e5da5; $custom-dark: #000000;
JSON
{
"hex": "#431d7f",
"rgb": {
"r": 67,
"g": 29,
"b": 127
},
"hsl": {
"h": 263.265,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.34838,
"c": 0.15284,
"h": 294.8
},
"luminance": 0.03604
}Semantic roles & 50–950 ramp
primary
#431D7F
secondary
#88B245
accent
#E642A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F