#431A7B#431A7B
#431A7B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.152 H 296.6°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #431A7B |
|---|---|
| RGB | rgb(67, 26, 123) |
| HSL | hsl(265, 65%, 29%) |
| HSV | hsv(265, 79%, 48%) |
| CMYK | cmyk(45.5%, 78.9%, 0%, 51.8%) |
| CIE-LAB | lab(21.44, 40.53, -47.32) |
| CIE-LCH | lch(21.44, 62.30, 310.58°) |
| OKLab | oklab(34.11% 0.0679 -0.1355) |
| OKLCH | oklch(34.11% 0.152 296.6) |
| XYZ | xyz(6.2583, 3.3620, 19.0543) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.61
Indigo (survey)
#380282
ΔE00 4.11
Royal Purple (survey)
#4B006E
ΔE00 4.63
Midnight Blue
#191970
ΔE00 6.55
Royal
#0C1793
ΔE00 7.33
Darkblue
#00008B
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431A7B #527B1A
analogous
#1A217B #431A7B #741A7B
triadic
#431A7B #7B431A #1A7B43
tetradic
#431A7B #7B1A21 #527B1A #1A7B74
square
#431A7B #7B1A21 #527B1A #1A7B74
split-complementary
#431A7B #7B741A #217B1A
monochromatic
#0E0519 #270F48 #431A7B #5F25AE #7C3AD5
Accessibility & contrast
On white
12.56
#431A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#431A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431A7B
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431A7B | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#34344A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #431a7b; /* rgb */ color: rgb(67, 26, 123); /* oklch */ color: oklch(34.1% 0.152 296.6);
Tailwind
colors: {
custom: {
50: '#7d5ba2',
500: '#431a7b',
950: '#000000',
},
}SCSS
$custom: #431a7b; $custom-light: #7d5ba2; $custom-dark: #000000;
JSON
{
"hex": "#431a7b",
"rgb": {
"r": 67,
"g": 26,
"b": 123
},
"hsl": {
"h": 265.361,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.34107,
"c": 0.15156,
"h": 296.6
},
"luminance": 0.03362
}Semantic roles & 50–950 ramp
primary
#431A7B
secondary
#81AF42
accent
#E840A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F