#74226B#74226B
#74226B is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.144 H 332.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #74226B |
|---|---|
| RGB | rgb(116, 34, 107) |
| HSL | hsl(307, 55%, 29%) |
| HSV | hsv(307, 71%, 45%) |
| CMYK | cmyk(0%, 70.7%, 7.8%, 54.5%) |
| CIE-LAB | lab(29.21, 44.50, -24.19) |
| CIE-LCH | lch(29.21, 50.65, 331.47°) |
| OKLab | oklab(40.86% 0.128 -0.0663) |
| OKLCH | oklch(40.86% 0.144 332.6) |
| XYZ | xyz(10.4284, 5.9194, 14.5004) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.52
Rich Purple
#720058
ΔE00 4.97
Purple
#800080
ΔE00 5.31
Grape
#6C3461
ΔE00 5.49
Grape Purple
#5D1451
ΔE00 6.04
Velvet
#750851
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#74226B #22742B
analogous
#542274 #74226B #742242
triadic
#74226B #6B7422 #226B74
tetradic
#74226B #745422 #22742B #224274
square
#74226B #745422 #22742B #224274
split-complementary
#74226B #427422 #227454
monochromatic
#180716 #45143F #74226B #A33097 #C947BB
Accessibility & contrast
On white
9.62
#74226B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#74226B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #74226B
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##74226B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##74226B | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3D6D
Deuteranopia (green-blind)
#3B4969
Tritanopia (blue-blind)
#792A43
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #74226b; /* rgb */ color: rgb(116, 34, 107); /* oklch */ color: oklch(40.9% 0.144 332.6);
Tailwind
colors: {
custom: {
50: '#9f6595',
500: '#74226b',
950: '#000000',
},
}SCSS
$custom: #74226b; $custom-light: #9f6595; $custom-dark: #000000;
JSON
{
"hex": "#74226b",
"rgb": {
"r": 116,
"g": 34,
"b": 107
},
"hsl": {
"h": 306.585,
"s": 54.667,
"l": 29.412
},
"oklch": {
"l": 0.40862,
"c": 0.14413,
"h": 332.6
},
"luminance": 0.05919
}Semantic roles & 50–950 ramp
primary
#74226B
secondary
#4BA755
accent
#DE5A4A
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060D
muted
#7F7A7E