#431F6F#431F6F
#431F6F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.131 H 300.0°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).
Color values
| HEX | #431F6F |
|---|---|
| RGB | rgb(67, 31, 111) |
| HSL | hsl(267, 56%, 28%) |
| HSV | hsv(267, 72%, 44%) |
| CMYK | cmyk(39.6%, 72.1%, 0%, 56.5%) |
| CIE-LAB | lab(21.29, 34.69, -39.87) |
| CIE-LCH | lch(21.29, 52.85, 311.03°) |
| OKLab | oklab(33.67% 0.0655 -0.1136) |
| OKLCH | oklch(33.67% 0.131 300) |
| XYZ | xyz(5.6733, 3.3209, 15.3779) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.05
Indigo
#4B0082
ΔE00 5.70
Indigo (survey)
#380282
ΔE00 6.40
Midnight Blue
#191970
ΔE00 7.07
Dark Indigo
#1F0954
ΔE00 7.67
Plum Purple
#4E0550
ΔE00 8.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431F6F #4B6F1F
analogous
#1F236F #431F6F #6B1F6F
triadic
#431F6F #6F431F #1F6F43
tetradic
#431F6F #6F1F23 #4B6F1F #1F6F6B
square
#431F6F #6F1F23 #4B6F1F #1F6F6B
split-complementary
#431F6F #6F6B1F #236F1F
monochromatic
#0E0718 #26123F #431F6F #602C9F #7D3FC9
Accessibility & contrast
On white
12.62
#431F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#431F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431F6F
12.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431F6F | 1.00 | 12.62 | 1.66 | 12.62 |
| #FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#393244
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #431f6f; /* rgb */ color: rgb(67, 31, 111); /* oklch */ color: oklch(33.7% 0.131 300.0);
Tailwind
colors: {
custom: {
50: '#7b5e99',
500: '#431f6f',
950: '#000000',
},
}SCSS
$custom: #431f6f; $custom-light: #7b5e99; $custom-dark: #000000;
JSON
{
"hex": "#431f6f",
"rgb": {
"r": 67,
"g": 31,
"b": 111
},
"hsl": {
"h": 267,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.33671,
"c": 0.13116,
"h": 300
},
"luminance": 0.03321
}Semantic roles & 50–950 ramp
primary
#431F6F
secondary
#7AA347
accent
#E0489B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E