#431C7B#431C7B
#431C7B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.149 H 296.3°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #431C7B |
|---|---|
| RGB | rgb(67, 28, 123) |
| HSL | hsl(265, 63%, 30%) |
| HSV | hsv(265, 77%, 48%) |
| CMYK | cmyk(45.5%, 77.2%, 0%, 51.8%) |
| CIE-LAB | lab(21.78, 39.57, -46.77) |
| CIE-LCH | lch(21.78, 61.26, 310.23°) |
| OKLab | oklab(34.34% 0.0661 -0.1339) |
| OKLCH | oklch(34.34% 0.149 296.3) |
| XYZ | xyz(6.3042, 3.4537, 19.0695) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.99
Indigo (survey)
#380282
ΔE00 4.45
Royal Purple (survey)
#4B006E
ΔE00 4.94
Midnight Blue
#191970
ΔE00 6.51
Royal
#0C1793
ΔE00 7.38
Indigo Blue
#3A18B1
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431C7B #547B1C
analogous
#1C247B #431C7B #731C7B
triadic
#431C7B #7B431C #1C7B43
tetradic
#431C7B #7B1C24 #547B1C #1C7B73
square
#431C7B #7B1C24 #547B1C #1C7B73
split-complementary
#431C7B #7B731C #247B1C
monochromatic
#0E0619 #281149 #431C7B #5E27AD #7B3ED3
Accessibility & contrast
On white
12.42
#431C7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#431C7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431C7B
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431C7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431C7B | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#34354A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #431c7b; /* rgb */ color: rgb(67, 28, 123); /* oklch */ color: oklch(34.3% 0.149 296.3);
Tailwind
colors: {
custom: {
50: '#7d5ca2',
500: '#431c7b',
950: '#000000',
},
}SCSS
$custom: #431c7b; $custom-light: #7d5ca2; $custom-dark: #000000;
JSON
{
"hex": "#431c7b",
"rgb": {
"r": 67,
"g": 28,
"b": 123
},
"hsl": {
"h": 264.632,
"s": 62.914,
"l": 29.608
},
"oklch": {
"l": 0.34344,
"c": 0.1493,
"h": 296.3
},
"luminance": 0.03454
}Semantic roles & 50–950 ramp
primary
#431C7B
secondary
#83AF44
accent
#E642A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F