#43167F#43167F
#43167F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.160 H 295.9°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).
Color values
| HEX | #43167F |
|---|---|
| RGB | rgb(67, 22, 127) |
| HSL | hsl(266, 70%, 29%) |
| HSV | hsv(266, 83%, 50%) |
| CMYK | cmyk(47.2%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(21.20, 43.38, -50.24) |
| CIE-LCH | lch(21.20, 66.38, 310.81°) |
| OKLab | oklab(34.06% 0.07 -0.144) |
| OKLCH | oklch(34.06% 0.16 295.9) |
| XYZ | xyz(6.4314, 3.2993, 20.3725) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.81
Indigo (survey)
#380282
ΔE00 3.23
Royal Purple (survey)
#4B006E
ΔE00 4.57
Midnight Blue
#191970
ΔE00 6.71
Royal
#0C1793
ΔE00 6.84
Darkblue
#00008B
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#43167F #527F16
analogous
#161E7F #43167F #78167F
triadic
#43167F #7F4316 #167F43
tetradic
#43167F #7F161E #527F16 #167F78
square
#43167F #7F161E #527F16 #167F78
split-complementary
#43167F #7F7816 #1E7F16
monochromatic
#0E051A #270D4B #43167F #5F1FB3 #7C34DC
Accessibility & contrast
On white
12.65
#43167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#43167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #43167F
12.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##43167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##43167F | 1.00 | 12.65 | 1.66 | 12.65 |
| #FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#32344B
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #43167f; /* rgb */ color: rgb(67, 22, 127); /* oklch */ color: oklch(34.1% 0.160 295.9);
Tailwind
colors: {
custom: {
50: '#7e5aa5',
500: '#43167f',
950: '#000000',
},
}SCSS
$custom: #43167f; $custom-light: #7e5aa5; $custom-dark: #000000;
JSON
{
"hex": "#43167f",
"rgb": {
"r": 67,
"g": 22,
"b": 127
},
"hsl": {
"h": 265.714,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.34061,
"c": 0.16014,
"h": 295.9
},
"luminance": 0.03299
}Semantic roles & 50–950 ramp
primary
#43167F
secondary
#81B43D
accent
#ED3BA1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F