#431F8F#431F8F
#431F8F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.169 H 290.0°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #431F8F |
|---|---|
| RGB | rgb(67, 31, 143) |
| HSL | hsl(259, 64%, 34%) |
| HSV | hsv(259, 78%, 56%) |
| CMYK | cmyk(53.1%, 78.3%, 0%, 43.9%) |
| CIE-LAB | lab(24.18, 43.73, -55.40) |
| CIE-LCH | lch(24.18, 70.57, 308.29°) |
| OKLab | oklab(36.61% 0.0579 -0.1592) |
| OKLCH | oklch(36.61% 0.169 290) |
| XYZ | xyz(7.7612, 4.1561, 26.3745) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.80
Indigo
#4B0082
ΔE00 4.86
Indigo Blue
#3A18B1
ΔE00 5.01
Royal
#0C1793
ΔE00 5.73
Cobalt Blue
#030AA7
ΔE00 6.61
Ultramarine
#2000B1
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431F8F #6B8F1F
analogous
#1F338F #431F8F #7B1F8F
triadic
#431F8F #8F431F #1F8F43
tetradic
#431F8F #8F1F33 #6B8F1F #1F8F7B
square
#431F8F #8F1F33 #6B8F1F #1F8F7B
split-complementary
#431F8F #8F7B1F #338F1F
monochromatic
#14092A #2B145D #431F8F #5B2AC1 #7C4FD9
Accessibility & contrast
On white
11.47
#431F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#431F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431F8F
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431F8F | 1.00 | 11.47 | 1.83 | 11.47 |
| #FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#273E56
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #431f8f; /* rgb */ color: rgb(67, 31, 143); /* oklch */ color: oklch(36.6% 0.169 290.0);
Tailwind
colors: {
custom: {
50: '#805fb1',
500: '#431f8f',
950: '#000000',
},
}SCSS
$custom: #431f8f; $custom-light: #805fb1; $custom-dark: #000000;
JSON
{
"hex": "#431f8f",
"rgb": {
"r": 67,
"g": 31,
"b": 143
},
"hsl": {
"h": 259.286,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.36611,
"c": 0.16941,
"h": 290
},
"luminance": 0.04156
}Semantic roles & 50–950 ramp
primary
#431F8F
secondary
#99BC4E
accent
#E740B2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980