#431F97#431F97
#431F97 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.179 H 288.1°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #431F97 |
|---|---|
| RGB | rgb(67, 31, 151) |
| HSL | hsl(258, 66%, 36%) |
| HSV | hsv(258, 79%, 59%) |
| CMYK | cmyk(55.6%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(24.97, 46.00, -59.03) |
| CIE-LCH | lch(24.97, 74.84, 307.93°) |
| OKLab | oklab(37.4% 0.0554 -0.1699) |
| OKLCH | oklch(37.4% 0.179 288.1) |
| XYZ | xyz(8.3890, 4.4072, 29.6808) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.83
Indigo (survey)
#380282
ΔE00 5.34
Indigo
#4B0082
ΔE00 5.50
Royal
#0C1793
ΔE00 5.56
Ultramarine
#2000B1
ΔE00 5.79
Cobalt Blue
#030AA7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431F97 #73971F
analogous
#1F3797 #431F97 #7F1F97
triadic
#431F97 #97431F #1F9743
tetradic
#431F97 #971F37 #73971F #1F977F
square
#431F97 #971F37 #73971F #1F977F
split-complementary
#431F97 #977F1F #37971F
monochromatic
#160A31 #2C1564 #431F97 #5A29CA #7D54DC
Accessibility & contrast
On white
11.16
#431F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#431F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431F97
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431F97 | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#20425B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #431f97; /* rgb */ color: rgb(67, 31, 151); /* oklch */ color: oklch(37.4% 0.179 288.1);
Tailwind
colors: {
custom: {
50: '#8160b7',
500: '#431f97',
950: '#000000',
},
}SCSS
$custom: #431f97; $custom-light: #8160b7; $custom-dark: #000000;
JSON
{
"hex": "#431f97",
"rgb": {
"r": 67,
"g": 31,
"b": 151
},
"hsl": {
"h": 258,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.37404,
"c": 0.17868,
"h": 288.1
},
"luminance": 0.04408
}Semantic roles & 50–950 ramp
primary
#431F97
secondary
#9FBF52
accent
#E93FB6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980