#431F8B#431F8B
#431F8B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.165 H 291.0°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #431F8B |
|---|---|
| RGB | rgb(67, 31, 139) |
| HSL | hsl(260, 64%, 33%) |
| HSV | hsv(260, 78%, 55%) |
| CMYK | cmyk(51.8%, 77.7%, 0%, 45.5%) |
| CIE-LAB | lab(23.79, 42.59, -53.54) |
| CIE-LCH | lch(23.79, 68.42, 308.50°) |
| OKLab | oklab(36.22% 0.059 -0.1538) |
| OKLCH | oklch(36.22% 0.165 291) |
| XYZ | xyz(7.4636, 4.0370, 24.8071) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.63
Indigo (survey)
#380282
ΔE00 4.64
Indigo Blue
#3A18B1
ΔE00 5.62
Royal
#0C1793
ΔE00 5.93
Royal Purple (survey)
#4B006E
ΔE00 6.97
Cobalt Blue
#030AA7
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431F8B #678B1F
analogous
#1F318B #431F8B #791F8B
triadic
#431F8B #8B431F #1F8B43
tetradic
#431F8B #8B1F31 #678B1F #1F8B79
square
#431F8B #8B1F31 #678B1F #1F8B79
split-complementary
#431F8B #8B791F #318B1F
monochromatic
#130927 #2B1459 #431F8B #5B2ABD #7B4DD7
Accessibility & contrast
On white
11.62
#431F8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#431F8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431F8B
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431F8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431F8B | 1.00 | 11.62 | 1.81 | 11.62 |
| #FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#2A3D54
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #431f8b; /* rgb */ color: rgb(67, 31, 139); /* oklch */ color: oklch(36.2% 0.165 291.0);
Tailwind
colors: {
custom: {
50: '#7f5fae',
500: '#431f8b',
950: '#000000',
},
}SCSS
$custom: #431f8b; $custom-light: #7f5fae; $custom-dark: #000000;
JSON
{
"hex": "#431f8b",
"rgb": {
"r": 67,
"g": 31,
"b": 139
},
"hsl": {
"h": 260,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.36221,
"c": 0.16473,
"h": 291
},
"luminance": 0.04037
}Semantic roles & 50–950 ramp
primary
#431F8B
secondary
#95BA4C
accent
#E741AF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F