#431B9F#431B9F
#431B9F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.191 H 286.8°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #431B9F |
|---|---|
| RGB | rgb(67, 27, 159) |
| HSL | hsl(258, 71%, 36%) |
| HSV | hsv(258, 83%, 62%) |
| CMYK | cmyk(57.9%, 83%, 0%, 37.6%) |
| CIE-LAB | lab(25.20, 50.00, -63.56) |
| CIE-LCH | lch(25.20, 80.87, 308.19°) |
| OKLab | oklab(37.81% 0.0553 -0.183) |
| OKLCH | oklch(37.81% 0.191 286.8) |
| XYZ | xyz(8.9628, 4.4799, 33.1866) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.64
Ultramarine
#2000B1
ΔE00 4.76
Cobalt Blue
#030AA7
ΔE00 5.31
Royal Blue (survey)
#0504AA
ΔE00 5.45
Royal
#0C1793
ΔE00 5.58
Indigo (survey)
#380282
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431B9F #779F1B
analogous
#1B359F #431B9F #851B9F
triadic
#431B9F #9F431B #1B9F43
tetradic
#431B9F #9F1B35 #779F1B #1B9F85
square
#431B9F #9F1B35 #779F1B #1B9F85
split-complementary
#431B9F #9F851B #359F1B
monochromatic
#170936 #2D126B #431B9F #5924D3 #7E53E2
Accessibility & contrast
On white
11.08
#431B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#431B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431B9F
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431B9F | 1.00 | 11.08 | 1.90 | 11.08 |
| #FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#15445F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #431b9f; /* rgb */ color: rgb(67, 27, 159); /* oklch */ color: oklch(37.8% 0.191 286.8);
Tailwind
colors: {
custom: {
50: '#835ebd',
500: '#431b9f',
950: '#000000',
},
}SCSS
$custom: #431b9f; $custom-light: #835ebd; $custom-dark: #000000;
JSON
{
"hex": "#431b9f",
"rgb": {
"r": 67,
"g": 27,
"b": 159
},
"hsl": {
"h": 258.182,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.37808,
"c": 0.19123,
"h": 286.8
},
"luminance": 0.0448
}Semantic roles & 50–950 ramp
primary
#431B9F
secondary
#A2C551
accent
#EE3AB7
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981