#431F76#431F76
#431F76 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.140 H 297.4°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #431F76 |
|---|---|
| RGB | rgb(67, 31, 118) |
| HSL | hsl(265, 58%, 29%) |
| HSV | hsv(265, 74%, 46%) |
| CMYK | cmyk(43.2%, 73.7%, 0%, 53.7%) |
| CIE-LAB | lab(21.88, 36.64, -43.41) |
| CIE-LCH | lch(21.88, 56.81, 310.17°) |
| OKLab | oklab(34.28% 0.0642 -0.1241) |
| OKLCH | oklch(34.28% 0.14 297.4) |
| XYZ | xyz(6.0739, 3.4812, 17.4879) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.95
Royal Purple (survey)
#4B006E
ΔE00 5.18
Indigo (survey)
#380282
ΔE00 5.50
Midnight Blue
#191970
ΔE00 6.62
Dark Indigo
#1F0954
ΔE00 8.09
Royal
#0C1793
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431F76 #52761F
analogous
#1F2676 #431F76 #6F1F76
triadic
#431F76 #76431F #1F7643
tetradic
#431F76 #761F26 #52761F #1F766F
square
#431F76 #761F26 #52761F #1F766F
split-complementary
#431F76 #766F1F #26761F
monochromatic
#0E0618 #271246 #431F76 #5F2CA6 #7C42CD
Accessibility & contrast
On white
12.38
#431F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#431F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431F76
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431F76 | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#363548
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #431f76; /* rgb */ color: rgb(67, 31, 118); /* oklch */ color: oklch(34.3% 0.140 297.4);
Tailwind
colors: {
custom: {
50: '#7c5e9e',
500: '#431f76',
950: '#000000',
},
}SCSS
$custom: #431f76; $custom-light: #7c5e9e; $custom-dark: #000000;
JSON
{
"hex": "#431f76",
"rgb": {
"r": 67,
"g": 31,
"b": 118
},
"hsl": {
"h": 264.828,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.34277,
"c": 0.13969,
"h": 297.4
},
"luminance": 0.03481
}Semantic roles & 50–950 ramp
primary
#431F76
secondary
#81AA47
accent
#E246A1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E