#43157C#43157C
#43157C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.158 H 297.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #43157C |
|---|---|
| RGB | rgb(67, 21, 124) |
| HSL | hsl(267, 71%, 28%) |
| HSV | hsv(267, 83%, 49%) |
| CMYK | cmyk(46%, 83.1%, 0%, 51.4%) |
| CIE-LAB | lab(20.77, 43.00, -49.05) |
| CIE-LCH | lch(20.77, 65.23, 311.24°) |
| OKLab | oklab(33.67% 0.0718 -0.1405) |
| OKLCH | oklch(33.67% 0.158 297) |
| XYZ | xyz(6.2200, 3.1847, 19.3519) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.76
Indigo (survey)
#380282
ΔE00 3.31
Royal Purple (survey)
#4B006E
ΔE00 4.12
Midnight Blue
#191970
ΔE00 6.74
Royal
#0C1793
ΔE00 7.19
Darkblue
#00008B
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#43157C #4E7C15
analogous
#151B7C #43157C #76157C
triadic
#43157C #7C4315 #157C43
tetradic
#43157C #7C151B #4E7C15 #157C76
square
#43157C #7C151B #4E7C15 #157C76
split-complementary
#43157C #7C7615 #1B7C15
monochromatic
#0E041A #270C48 #43157C #5F1EB0 #7C30DC
Accessibility & contrast
On white
12.83
#43157C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#43157C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #43157C
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##43157C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##43157C | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#343249
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #43157c; /* rgb */ color: rgb(67, 21, 124); /* oklch */ color: oklch(33.7% 0.158 297.0);
Tailwind
colors: {
custom: {
50: '#7e59a3',
500: '#43157c',
950: '#000000',
},
}SCSS
$custom: #43157c; $custom-light: #7e59a3; $custom-dark: #000000;
JSON
{
"hex": "#43157c",
"rgb": {
"r": 67,
"g": 21,
"b": 124
},
"hsl": {
"h": 266.796,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.33669,
"c": 0.15781,
"h": 297
},
"luminance": 0.03185
}Semantic roles & 50–950 ramp
primary
#43157C
secondary
#7DB13C
accent
#EE3A9E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F