#431C7D#431C7D
#431C7D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.152 H 295.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #431C7D |
|---|---|
| RGB | rgb(67, 28, 125) |
| HSL | hsl(264, 63%, 30%) |
| HSV | hsv(264, 78%, 49%) |
| CMYK | cmyk(46.4%, 77.6%, 0%, 51%) |
| CIE-LAB | lab(21.96, 40.12, -47.74) |
| CIE-LCH | lch(21.96, 62.36, 310.04°) |
| OKLab | oklab(34.53% 0.0655 -0.1367) |
| OKLCH | oklch(34.53% 0.152 295.6) |
| XYZ | xyz(6.4307, 3.5043, 19.7356) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.90
Indigo (survey)
#380282
ΔE00 4.31
Royal Purple (survey)
#4B006E
ΔE00 5.11
Midnight Blue
#191970
ΔE00 6.50
Royal
#0C1793
ΔE00 7.13
Indigo Blue
#3A18B1
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431C7D #567D1C
analogous
#1C257D #431C7D #741C7D
triadic
#431C7D #7D431C #1C7D43
tetradic
#431C7D #7D1C25 #567D1C #1C7D74
square
#431C7D #7D1C25 #567D1C #1C7D74
split-complementary
#431C7D #7D741C #257D1C
monochromatic
#0D0619 #28114B #431C7D #5E27AF #7B3FD4
Accessibility & contrast
On white
12.35
#431C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#431C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431C7D
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431C7D | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#33364B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #431c7d; /* rgb */ color: rgb(67, 28, 125); /* oklch */ color: oklch(34.5% 0.152 295.6);
Tailwind
colors: {
custom: {
50: '#7d5da4',
500: '#431c7d',
950: '#000000',
},
}SCSS
$custom: #431c7d; $custom-light: #7d5da4; $custom-dark: #000000;
JSON
{
"hex": "#431c7d",
"rgb": {
"r": 67,
"g": 28,
"b": 125
},
"hsl": {
"h": 264.124,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.3453,
"c": 0.15164,
"h": 295.6
},
"luminance": 0.03504
}Semantic roles & 50–950 ramp
primary
#431C7D
secondary
#85B144
accent
#E641A4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F