#431F8C#431F8C
#431F8C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.166 H 290.7°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).
Color values
| HEX | #431F8C |
|---|---|
| RGB | rgb(67, 31, 140) |
| HSL | hsl(260, 64%, 34%) |
| HSV | hsv(260, 78%, 55%) |
| CMYK | cmyk(52.1%, 77.9%, 0%, 45.1%) |
| CIE-LAB | lab(23.89, 42.87, -54.01) |
| CIE-LCH | lch(23.89, 68.96, 308.44°) |
| OKLab | oklab(36.32% 0.0587 -0.1552) |
| OKLCH | oklch(36.32% 0.166 290.7) |
| XYZ | xyz(7.5370, 4.0664, 25.1936) |
| Luminance | 0.0407 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.67
Indigo
#4B0082
ΔE00 4.68
Indigo Blue
#3A18B1
ΔE00 5.47
Royal
#0C1793
ΔE00 5.88
Cobalt Blue
#030AA7
ΔE00 6.90
Ultramarine
#2000B1
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431F8C #688C1F
analogous
#1F318C #431F8C #791F8C
triadic
#431F8C #8C431F #1F8C43
tetradic
#431F8C #8C1F31 #688C1F #1F8C79
square
#431F8C #8C1F31 #688C1F #1F8C79
split-complementary
#431F8C #8C791F #318C1F
monochromatic
#130928 #2B145A #431F8C #5B2ABE #7B4ED8
Accessibility & contrast
On white
11.58
#431F8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#431F8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431F8C
11.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431F8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431F8C | 1.00 | 11.58 | 1.81 | 11.58 |
| #FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#293D54
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #431f8c; /* rgb */ color: rgb(67, 31, 140); /* oklch */ color: oklch(36.3% 0.166 290.7);
Tailwind
colors: {
custom: {
50: '#7f5faf',
500: '#431f8c',
950: '#000000',
},
}SCSS
$custom: #431f8c; $custom-light: #7f5faf; $custom-dark: #000000;
JSON
{
"hex": "#431f8c",
"rgb": {
"r": 67,
"g": 31,
"b": 140
},
"hsl": {
"h": 259.817,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.36318,
"c": 0.1659,
"h": 290.7
},
"luminance": 0.04067
}Semantic roles & 50–950 ramp
primary
#431F8C
secondary
#96BB4C
accent
#E741B0
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0510
muted
#7C797F