#431A7C#431A7C
#431A7C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.153 H 296.3°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).
Color values
| HEX | #431A7C |
|---|---|
| RGB | rgb(67, 26, 124) |
| HSL | hsl(265, 65%, 29%) |
| HSV | hsv(265, 79%, 49%) |
| CMYK | cmyk(46%, 79%, 0%, 51.4%) |
| CIE-LAB | lab(21.53, 40.80, -47.80) |
| CIE-LCH | lch(21.53, 62.85, 310.48°) |
| OKLab | oklab(34.2% 0.0676 -0.1369) |
| OKLCH | oklch(34.2% 0.153 296.3) |
| XYZ | xyz(6.3213, 3.3872, 19.3856) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.56
Indigo (survey)
#380282
ΔE00 4.03
Royal Purple (survey)
#4B006E
ΔE00 4.72
Midnight Blue
#191970
ΔE00 6.55
Royal
#0C1793
ΔE00 7.21
Darkblue
#00008B
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431A7C #537C1A
analogous
#1A227C #431A7C #741A7C
triadic
#431A7C #7C431A #1A7C43
tetradic
#431A7C #7C1A22 #537C1A #1A7C74
square
#431A7C #7C1A22 #537C1A #1A7C74
split-complementary
#431A7C #7C741A #227C1A
monochromatic
#0E0519 #280F49 #431A7C #5E25AF #7C3BD6
Accessibility & contrast
On white
12.52
#431A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#431A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431A7C
12.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431A7C | 1.00 | 12.52 | 1.68 | 12.52 |
| #FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#33344A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #431a7c; /* rgb */ color: rgb(67, 26, 124); /* oklch */ color: oklch(34.2% 0.153 296.3);
Tailwind
colors: {
custom: {
50: '#7d5ba3',
500: '#431a7c',
950: '#000000',
},
}SCSS
$custom: #431a7c; $custom-light: #7d5ba3; $custom-dark: #000000;
JSON
{
"hex": "#431a7c",
"rgb": {
"r": 67,
"g": 26,
"b": 124
},
"hsl": {
"h": 265.102,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.34201,
"c": 0.1527,
"h": 296.3
},
"luminance": 0.03387
}Semantic roles & 50–950 ramp
primary
#431A7C
secondary
#82B042
accent
#E840A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F