#431C7F#431C7F
#431C7F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.154 H 295.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #431C7F |
|---|---|
| RGB | rgb(67, 28, 127) |
| HSL | hsl(264, 64%, 30%) |
| HSV | hsv(264, 78%, 50%) |
| CMYK | cmyk(47.2%, 78%, 0%, 50.2%) |
| CIE-LAB | lab(22.15, 40.67, -48.70) |
| CIE-LCH | lch(22.15, 63.45, 309.87°) |
| OKLab | oklab(34.72% 0.065 -0.1396) |
| OKLCH | oklch(34.72% 0.154 295) |
| XYZ | xyz(6.5597, 3.5559, 20.4153) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.84
Indigo (survey)
#380282
ΔE00 4.19
Royal Purple (survey)
#4B006E
ΔE00 5.30
Midnight Blue
#191970
ΔE00 6.52
Royal
#0C1793
ΔE00 6.89
Indigo Blue
#3A18B1
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431C7F #587F1C
analogous
#1C277F #431C7F #741C7F
triadic
#431C7F #7F431C #1C7F43
tetradic
#431C7F #7F1C27 #587F1C #1C7F74
square
#431C7F #7F1C27 #587F1C #1C7F74
split-complementary
#431C7F #7F741C #277F1C
monochromatic
#0E061B #29114D #431C7F #5D27B1 #7B40D5
Accessibility & contrast
On white
12.27
#431C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#431C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431C7F
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431C7F | 1.00 | 12.27 | 1.71 | 12.27 |
| #FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#32374C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #431c7f; /* rgb */ color: rgb(67, 28, 127); /* oklch */ color: oklch(34.7% 0.154 295.0);
Tailwind
colors: {
custom: {
50: '#7e5da5',
500: '#431c7f',
950: '#000000',
},
}SCSS
$custom: #431c7f; $custom-light: #7e5da5; $custom-dark: #000000;
JSON
{
"hex": "#431c7f",
"rgb": {
"r": 67,
"g": 28,
"b": 127
},
"hsl": {
"h": 263.636,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.34717,
"c": 0.15396,
"h": 295
},
"luminance": 0.03556
}Semantic roles & 50–950 ramp
primary
#431C7F
secondary
#87B344
accent
#E741A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F