#431A7F#431A7F
#431A7F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.156 H 295.3°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #431A7F |
|---|---|
| RGB | rgb(67, 26, 127) |
| HSL | hsl(264, 66%, 30%) |
| HSV | hsv(264, 80%, 50%) |
| CMYK | cmyk(47.2%, 79.5%, 0%, 50.2%) |
| CIE-LAB | lab(21.81, 41.62, -49.24) |
| CIE-LCH | lch(21.81, 64.48, 310.20°) |
| OKLab | oklab(34.49% 0.0667 -0.1411) |
| OKLCH | oklch(34.49% 0.156 295.3) |
| XYZ | xyz(6.5139, 3.4642, 20.4000) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.47
Indigo (survey)
#380282
ΔE00 3.84
Royal Purple (survey)
#4B006E
ΔE00 5.02
Midnight Blue
#191970
ΔE00 6.57
Royal
#0C1793
ΔE00 6.85
Indigo Blue
#3A18B1
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431A7F #567F1A
analogous
#1A247F #431A7F #751A7F
triadic
#431A7F #7F431A #1A7F43
tetradic
#431A7F #7F1A24 #567F1A #1A7F75
square
#431A7F #7F1A24 #567F1A #1A7F75
split-complementary
#431A7F #7F751A #247F1A
monochromatic
#0D0519 #28104C #431A7F #5E24B2 #7B3CD7
Accessibility & contrast
On white
12.41
#431A7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#431A7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431A7F
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431A7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431A7F | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#32364C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #431a7f; /* rgb */ color: rgb(67, 26, 127); /* oklch */ color: oklch(34.5% 0.156 295.3);
Tailwind
colors: {
custom: {
50: '#7e5ca5',
500: '#431a7f',
950: '#000000',
},
}SCSS
$custom: #431a7f; $custom-light: #7e5ca5; $custom-dark: #000000;
JSON
{
"hex": "#431a7f",
"rgb": {
"r": 67,
"g": 26,
"b": 127
},
"hsl": {
"h": 264.356,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.34485,
"c": 0.15613,
"h": 295.3
},
"luminance": 0.03464
}Semantic roles & 50–950 ramp
primary
#431A7F
secondary
#85B342
accent
#E93FA4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F