#43167C#43167C
#43167C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.157 H 296.9°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #43167C |
|---|---|
| RGB | rgb(67, 22, 124) |
| HSL | hsl(266, 70%, 29%) |
| HSV | hsv(266, 82%, 49%) |
| CMYK | cmyk(46%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(20.91, 42.59, -48.82) |
| CIE-LCH | lch(20.91, 64.78, 311.10°) |
| OKLab | oklab(33.77% 0.071 -0.1399) |
| OKLCH | oklch(33.77% 0.157 296.9) |
| XYZ | xyz(6.2388, 3.2222, 19.3581) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.90
Indigo (survey)
#380282
ΔE00 3.44
Royal Purple (survey)
#4B006E
ΔE00 4.22
Midnight Blue
#191970
ΔE00 6.69
Royal
#0C1793
ΔE00 7.18
Darkblue
#00008B
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#43167C #4F7C16
analogous
#161C7C #43167C #76167C
triadic
#43167C #7C4316 #167C43
tetradic
#43167C #7C161C #4F7C16 #167C76
square
#43167C #7C161C #4F7C16 #167C76
split-complementary
#43167C #7C7616 #1C7C16
monochromatic
#0E051A #270D48 #43167C #5F1FB0 #7C32DB
Accessibility & contrast
On white
12.77
#43167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#43167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #43167C
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##43167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##43167C | 1.00 | 12.77 | 1.64 | 12.77 |
| #FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#343349
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #43167c; /* rgb */ color: rgb(67, 22, 124); /* oklch */ color: oklch(33.8% 0.157 296.9);
Tailwind
colors: {
custom: {
50: '#7e5aa3',
500: '#43167c',
950: '#000000',
},
}SCSS
$custom: #43167c; $custom-light: #7e5aa3; $custom-dark: #000000;
JSON
{
"hex": "#43167c",
"rgb": {
"r": 67,
"g": 22,
"b": 124
},
"hsl": {
"h": 266.471,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.33769,
"c": 0.15684,
"h": 296.9
},
"luminance": 0.03222
}Semantic roles & 50–950 ramp
primary
#43167C
secondary
#7EB13D
accent
#ED3B9E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F