#431F7B#431F7B
#431F7B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.146 H 295.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #431F7B |
|---|---|
| RGB | rgb(67, 31, 123) |
| HSL | hsl(263, 60%, 30%) |
| HSV | hsv(263, 75%, 48%) |
| CMYK | cmyk(45.5%, 74.8%, 0%, 51.8%) |
| CIE-LAB | lab(22.31, 38.05, -45.89) |
| CIE-LCH | lch(22.31, 59.61, 309.66°) |
| OKLab | oklab(34.72% 0.0631 -0.1313) |
| OKLCH | oklch(34.72% 0.146 295.7) |
| XYZ | xyz(6.3789, 3.6032, 19.0944) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.60
Indigo (survey)
#380282
ΔE00 5.02
Royal Purple (survey)
#4B006E
ΔE00 5.46
Midnight Blue
#191970
ΔE00 6.49
Royal
#0C1793
ΔE00 7.50
Rebeccapurple
#663399
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431F7B #577B1F
analogous
#1F297B #431F7B #711F7B
triadic
#431F7B #7B431F #1F7B43
tetradic
#431F7B #7B1F29 #577B1F #1F7B71
square
#431F7B #7B1F29 #577B1F #1F7B71
split-complementary
#431F7B #7B711F #297B1F
monochromatic
#0E0619 #28134A #431F7B #5E2BAC #7B44D0
Accessibility & contrast
On white
12.21
#431F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#431F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431F7B
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431F7B | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#34374B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #431f7b; /* rgb */ color: rgb(67, 31, 123); /* oklch */ color: oklch(34.7% 0.146 295.7);
Tailwind
colors: {
custom: {
50: '#7d5ea2',
500: '#431f7b',
950: '#000000',
},
}SCSS
$custom: #431f7b; $custom-light: #7d5ea2; $custom-dark: #000000;
JSON
{
"hex": "#431f7b",
"rgb": {
"r": 67,
"g": 31,
"b": 123
},
"hsl": {
"h": 263.478,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.34723,
"c": 0.14572,
"h": 295.7
},
"luminance": 0.03603
}Semantic roles & 50–950 ramp
primary
#431F7B
secondary
#86AE48
accent
#E345A5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F