#431F9C#431F9C
#431F9C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.184 H 287.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #431F9C |
|---|---|
| RGB | rgb(67, 31, 156) |
| HSL | hsl(257, 67%, 37%) |
| HSV | hsv(257, 80%, 61%) |
| CMYK | cmyk(57.1%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(25.48, 47.43, -61.26) |
| CIE-LCH | lch(25.48, 77.47, 307.74°) |
| OKLab | oklab(37.91% 0.0539 -0.1764) |
| OKLCH | oklch(37.91% 0.184 287) |
| XYZ | xyz(8.8037, 4.5731, 31.8648) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.15
Ultramarine
#2000B1
ΔE00 5.38
Royal
#0C1793
ΔE00 5.61
Cobalt Blue
#030AA7
ΔE00 5.74
Indigo (survey)
#380282
ΔE00 5.79
Royal Blue (survey)
#0504AA
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431F9C #789C1F
analogous
#1F3A9C #431F9C #821F9C
triadic
#431F9C #9C431F #1F9C43
tetradic
#431F9C #9C1F3A #789C1F #1F9C82
square
#431F9C #9C1F3A #789C1F #1F9C82
split-complementary
#431F9C #9C821F #3A9C1F
monochromatic
#170B36 #2D1569 #431F9C #5929CF #7E58DE
Accessibility & contrast
On white
10.97
#431F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#431F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431F9C
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431F9C | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#19445E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #431f9c; /* rgb */ color: rgb(67, 31, 156); /* oklch */ color: oklch(37.9% 0.184 287.0);
Tailwind
colors: {
custom: {
50: '#8260ba',
500: '#431f9c',
950: '#000000',
},
}SCSS
$custom: #431f9c; $custom-light: #8260ba; $custom-dark: #000000;
JSON
{
"hex": "#431f9c",
"rgb": {
"r": 67,
"g": 31,
"b": 156
},
"hsl": {
"h": 257.28,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.3791,
"c": 0.18442,
"h": 287
},
"luminance": 0.04574
}Semantic roles & 50–950 ramp
primary
#431F9C
secondary
#A2C155
accent
#EA3EB8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981