#431A7E#431A7E
#431A7E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.155 H 295.6°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #431A7E |
|---|---|
| RGB | rgb(67, 26, 126) |
| HSL | hsl(265, 66%, 30%) |
| HSV | hsv(265, 79%, 49%) |
| CMYK | cmyk(46.8%, 79.4%, 0%, 50.6%) |
| CIE-LAB | lab(21.72, 41.35, -48.77) |
| CIE-LCH | lch(21.72, 63.93, 310.29°) |
| OKLab | oklab(34.39% 0.067 -0.1398) |
| OKLCH | oklch(34.39% 0.155 295.6) |
| XYZ | xyz(6.4490, 3.4383, 20.0585) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.49
Indigo (survey)
#380282
ΔE00 3.90
Royal Purple (survey)
#4B006E
ΔE00 4.92
Midnight Blue
#191970
ΔE00 6.56
Royal
#0C1793
ΔE00 6.97
Indigo Blue
#3A18B1
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431A7E #557E1A
analogous
#1A237E #431A7E #751A7E
triadic
#431A7E #7E431A #1A7E43
tetradic
#431A7E #7E1A23 #557E1A #1A7E75
square
#431A7E #7E1A23 #557E1A #1A7E75
split-complementary
#431A7E #7E751A #237E1A
monochromatic
#0D0519 #28104B #431A7E #5E24B1 #7B3CD7
Accessibility & contrast
On white
12.44
#431A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#431A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431A7E
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431A7E | 1.00 | 12.44 | 1.69 | 12.44 |
| #FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#32354B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #431a7e; /* rgb */ color: rgb(67, 26, 126); /* oklch */ color: oklch(34.4% 0.155 295.6);
Tailwind
colors: {
custom: {
50: '#7e5ca4',
500: '#431a7e',
950: '#000000',
},
}SCSS
$custom: #431a7e; $custom-light: #7e5ca4; $custom-dark: #000000;
JSON
{
"hex": "#431a7e",
"rgb": {
"r": 67,
"g": 26,
"b": 126
},
"hsl": {
"h": 264.6,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.3439,
"c": 0.15499,
"h": 295.6
},
"luminance": 0.03438
}Semantic roles & 50–950 ramp
primary
#431A7E
secondary
#84B242
accent
#E93FA3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F