#74226E#74226E
#74226E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.147 H 331.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #74226E |
|---|---|
| RGB | rgb(116, 34, 110) |
| HSL | hsl(304, 55%, 29%) |
| HSV | hsv(304, 71%, 45%) |
| CMYK | cmyk(0%, 70.7%, 5.2%, 54.5%) |
| CIE-LAB | lab(29.37, 45.02, -25.86) |
| CIE-LCH | lch(29.37, 51.92, 330.13°) |
| OKLab | oklab(41.03% 0.1282 -0.0711) |
| OKLCH | oklch(41.03% 0.147 331) |
| XYZ | xyz(10.5889, 5.9837, 15.3461) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.93
Purple
#800080
ΔE00 4.78
Rich Purple
#720058
ΔE00 5.45
Grape
#6C3461
ΔE00 5.94
Darkmagenta
#8B008B
ΔE00 6.28
Grape Purple
#5D1451
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#74226E #227428
analogous
#512274 #74226E #742245
triadic
#74226E #6E7422 #226E74
tetradic
#74226E #745122 #227428 #224574
square
#74226E #745122 #227428 #224574
split-complementary
#74226E #457422 #227451
monochromatic
#180716 #451441 #74226E #A3309B #C947C0
Accessibility & contrast
On white
9.56
#74226E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#74226E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #74226E
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##74226E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##74226E | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3E70
Deuteranopia (green-blind)
#3A496C
Tritanopia (blue-blind)
#792B45
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #74226e; /* rgb */ color: rgb(116, 34, 110); /* oklch */ color: oklch(41.0% 0.147 331.0);
Tailwind
colors: {
custom: {
50: '#9f6598',
500: '#74226e',
950: '#000000',
},
}SCSS
$custom: #74226e; $custom-light: #9f6598; $custom-dark: #000000;
JSON
{
"hex": "#74226e",
"rgb": {
"r": 116,
"g": 34,
"b": 110
},
"hsl": {
"h": 304.39,
"s": 54.667,
"l": 29.412
},
"oklch": {
"l": 0.41033,
"c": 0.14661,
"h": 331
},
"luminance": 0.05983
}Semantic roles & 50–950 ramp
primary
#74226E
secondary
#4BA751
accent
#DE554A
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060D
muted
#7F7A7E