#431F7F#431F7F
#431F7F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.151 H 294.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #431F7F |
|---|---|
| RGB | rgb(67, 31, 127) |
| HSL | hsl(263, 61%, 31%) |
| HSV | hsv(263, 76%, 50%) |
| CMYK | cmyk(47.2%, 75.6%, 0%, 50.2%) |
| CIE-LAB | lab(22.67, 39.18, -47.84) |
| CIE-LCH | lch(22.67, 61.83, 309.31°) |
| OKLab | oklab(35.09% 0.0622 -0.1371) |
| OKLCH | oklch(35.09% 0.151 294.4) |
| XYZ | xyz(6.6344, 3.7054, 20.4402) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.44
Indigo (survey)
#380282
ΔE00 4.76
Royal Purple (survey)
#4B006E
ΔE00 5.77
Midnight Blue
#191970
ΔE00 6.50
Royal
#0C1793
ΔE00 7.00
Indigo Blue
#3A18B1
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431F7F #5B7F1F
analogous
#1F2B7F #431F7F #731F7F
triadic
#431F7F #7F431F #1F7F43
tetradic
#431F7F #7F1F2B #5B7F1F #1F7F73
square
#431F7F #7F1F2B #5B7F1F #1F7F73
split-complementary
#431F7F #7F731F #2B7F1F
monochromatic
#0F071D #29134E #431F7F #5D2BB0 #7B46D2
Accessibility & contrast
On white
12.06
#431F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#431F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431F7F
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431F7F | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#32384D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #431f7f; /* rgb */ color: rgb(67, 31, 127); /* oklch */ color: oklch(35.1% 0.151 294.4);
Tailwind
colors: {
custom: {
50: '#7d5ea5',
500: '#431f7f',
950: '#000000',
},
}SCSS
$custom: #431f7f; $custom-light: #7d5ea5; $custom-dark: #000000;
JSON
{
"hex": "#431f7f",
"rgb": {
"r": 67,
"g": 31,
"b": 127
},
"hsl": {
"h": 262.5,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.35088,
"c": 0.15052,
"h": 294.4
},
"luminance": 0.03706
}Semantic roles & 50–950 ramp
primary
#431F7F
secondary
#8AB248
accent
#E444A8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F