#431B7F#431B7F
#431B7F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.155 H 295.1°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #431B7F |
|---|---|
| RGB | rgb(67, 27, 127) |
| HSL | hsl(264, 65%, 30%) |
| HSV | hsv(264, 79%, 50%) |
| CMYK | cmyk(47.2%, 78.7%, 0%, 50.2%) |
| CIE-LAB | lab(21.98, 41.15, -48.98) |
| CIE-LCH | lch(21.98, 63.97, 310.04°) |
| OKLab | oklab(34.6% 0.0659 -0.1404) |
| OKLCH | oklch(34.6% 0.155 295.1) |
| XYZ | xyz(6.5364, 3.5093, 20.4075) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.65
Indigo (survey)
#380282
ΔE00 4.01
Royal Purple (survey)
#4B006E
ΔE00 5.16
Midnight Blue
#191970
ΔE00 6.54
Royal
#0C1793
ΔE00 6.87
Indigo Blue
#3A18B1
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431B7F #577F1B
analogous
#1B257F #431B7F #751B7F
triadic
#431B7F #7F431B #1B7F43
tetradic
#431B7F #7F1B25 #577F1B #1B7F75
square
#431B7F #7F1B25 #577F1B #1B7F75
split-complementary
#431B7F #7F751B #257F1B
monochromatic
#0E061A #28104D #431B7F #5E26B1 #7B3ED6
Accessibility & contrast
On white
12.34
#431B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#431B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431B7F
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431B7F | 1.00 | 12.34 | 1.70 | 12.34 |
| #FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#32364C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #431b7f; /* rgb */ color: rgb(67, 27, 127); /* oklch */ color: oklch(34.6% 0.155 295.1);
Tailwind
colors: {
custom: {
50: '#7e5ca5',
500: '#431b7f',
950: '#000000',
},
}SCSS
$custom: #431b7f; $custom-light: #7e5ca5; $custom-dark: #000000;
JSON
{
"hex": "#431b7f",
"rgb": {
"r": 67,
"g": 27,
"b": 127
},
"hsl": {
"h": 264,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.346,
"c": 0.15506,
"h": 295.1
},
"luminance": 0.03509
}Semantic roles & 50–950 ramp
primary
#431B7F
secondary
#86B343
accent
#E840A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F