#74166E#74166E
#74166E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.161 H 331.0°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #74166E |
|---|---|
| RGB | rgb(116, 22, 110) |
| HSL | hsl(304, 68%, 27%) |
| HSV | hsv(304, 81%, 45%) |
| CMYK | cmyk(0%, 81%, 5.2%, 54.5%) |
| CIE-LAB | lab(27.88, 49.26, -28.21) |
| CIE-LCH | lch(27.88, 56.77, 330.20°) |
| OKLab | oklab(39.96% 0.1405 -0.0778) |
| OKLCH | oklch(39.96% 0.161 331) |
| XYZ | xyz(10.3038, 5.4135, 15.2510) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.02
Purple
#800080
ΔE00 3.72
Rich Purple
#720058
ΔE00 4.87
Darkmagenta
#8B008B
ΔE00 5.72
Grape Purple
#5D1451
ΔE00 6.24
Velvet
#750851
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#74166E #16741C
analogous
#4B1674 #74166E #74163F
triadic
#74166E #6E7416 #166E74
tetradic
#74166E #744B16 #16741C #163F74
square
#74166E #744B16 #16741C #163F74
split-complementary
#74166E #3F7416 #16744B
monochromatic
#1A0518 #410C3D #74166E #A7209F #D72DCC
Accessibility & contrast
On white
10.08
#74166E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#74166E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #74166E
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##74166E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##74166E | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A3A70
Deuteranopia (green-blind)
#35466C
Tritanopia (blue-blind)
#792342
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #74166e; /* rgb */ color: rgb(116, 22, 110); /* oklch */ color: oklch(40.0% 0.161 331.0);
Tailwind
colors: {
custom: {
50: '#9f6098',
500: '#74166e',
950: '#000000',
},
}SCSS
$custom: #74166e; $custom-light: #9f6098; $custom-dark: #000000;
JSON
{
"hex": "#74166e",
"rgb": {
"r": 116,
"g": 22,
"b": 110
},
"hsl": {
"h": 303.83,
"s": 68.116,
"l": 27.059
},
"oklch": {
"l": 0.39963,
"c": 0.16058,
"h": 331
},
"luminance": 0.05413
}Semantic roles & 50–950 ramp
primary
#74166E
secondary
#3CAA43
accent
#EB483D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E