#431F7D#431F7D
#431F7D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.148 H 295.0°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #431F7D |
|---|---|
| RGB | rgb(67, 31, 125) |
| HSL | hsl(263, 60%, 31%) |
| HSV | hsv(263, 75%, 49%) |
| CMYK | cmyk(46.4%, 75.2%, 0%, 51%) |
| CIE-LAB | lab(22.49, 38.61, -46.87) |
| CIE-LCH | lch(22.49, 60.72, 309.48°) |
| OKLab | oklab(34.91% 0.0627 -0.1342) |
| OKLCH | oklch(34.91% 0.148 295) |
| XYZ | xyz(6.5054, 3.6538, 19.7606) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.51
Indigo (survey)
#380282
ΔE00 4.88
Royal Purple (survey)
#4B006E
ΔE00 5.61
Midnight Blue
#191970
ΔE00 6.48
Royal
#0C1793
ΔE00 7.24
Indigo Blue
#3A18B1
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431F7D #597D1F
analogous
#1F2A7D #431F7D #721F7D
triadic
#431F7D #7D431F #1F7D43
tetradic
#431F7D #7D1F2A #597D1F #1F7D72
square
#431F7D #7D1F2A #597D1F #1F7D72
split-complementary
#431F7D #7D721F #2A7D1F
monochromatic
#0E071B #29134C #431F7D #5D2BAE #7B45D1
Accessibility & contrast
On white
12.13
#431F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#431F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431F7D
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431F7D | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#33374C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #431f7d; /* rgb */ color: rgb(67, 31, 125); /* oklch */ color: oklch(34.9% 0.148 295.0);
Tailwind
colors: {
custom: {
50: '#7d5ea3',
500: '#431f7d',
950: '#000000',
},
}SCSS
$custom: #431f7d; $custom-light: #7d5ea3; $custom-dark: #000000;
JSON
{
"hex": "#431f7d",
"rgb": {
"r": 67,
"g": 31,
"b": 125
},
"hsl": {
"h": 262.979,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.34905,
"c": 0.14812,
"h": 295
},
"luminance": 0.03654
}Semantic roles & 50–950 ramp
primary
#431F7D
secondary
#88B048
accent
#E344A7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F