#431C7C#431C7C
#431C7C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.150 H 295.9°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #431C7C |
|---|---|
| RGB | rgb(67, 28, 124) |
| HSL | hsl(264, 63%, 30%) |
| HSV | hsv(264, 77%, 49%) |
| CMYK | cmyk(46%, 77.4%, 0%, 51.4%) |
| CIE-LAB | lab(21.87, 39.84, -47.25) |
| CIE-LCH | lch(21.87, 61.81, 310.14°) |
| OKLab | oklab(34.44% 0.0658 -0.1353) |
| OKLCH | oklch(34.44% 0.15 295.9) |
| XYZ | xyz(6.3671, 3.4789, 19.4009) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.94
Indigo (survey)
#380282
ΔE00 4.38
Royal Purple (survey)
#4B006E
ΔE00 5.02
Midnight Blue
#191970
ΔE00 6.50
Royal
#0C1793
ΔE00 7.25
Indigo Blue
#3A18B1
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431C7C #557C1C
analogous
#1C257C #431C7C #731C7C
triadic
#431C7C #7C431C #1C7C43
tetradic
#431C7C #7C1C25 #557C1C #1C7C73
square
#431C7C #7C1C25 #557C1C #1C7C73
split-complementary
#431C7C #7C731C #257C1C
monochromatic
#0D0619 #28114A #431C7C #5E27AE #7B3FD4
Accessibility & contrast
On white
12.38
#431C7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#431C7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431C7C
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431C7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431C7C | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#33354B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #431c7c; /* rgb */ color: rgb(67, 28, 124); /* oklch */ color: oklch(34.4% 0.150 295.9);
Tailwind
colors: {
custom: {
50: '#7d5da3',
500: '#431c7c',
950: '#000000',
},
}SCSS
$custom: #431c7c; $custom-light: #7d5da3; $custom-dark: #000000;
JSON
{
"hex": "#431c7c",
"rgb": {
"r": 67,
"g": 28,
"b": 124
},
"hsl": {
"h": 264.375,
"s": 63.158,
"l": 29.804
},
"oklch": {
"l": 0.34437,
"c": 0.15047,
"h": 295.9
},
"luminance": 0.03479
}Semantic roles & 50–950 ramp
primary
#431C7C
secondary
#84B044
accent
#E642A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F