#76226F#76226F
#76226F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.149 H 331.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #76226F |
|---|---|
| RGB | rgb(118, 34, 111) |
| HSL | hsl(305, 55%, 30%) |
| HSV | hsv(305, 71%, 46%) |
| CMYK | cmyk(0%, 71.2%, 5.9%, 53.7%) |
| CIE-LAB | lab(29.77, 45.72, -25.84) |
| CIE-LCH | lch(29.77, 52.51, 330.52°) |
| OKLab | oklab(41.41% 0.1306 -0.071) |
| OKLCH | oklch(41.41% 0.149 331.5) |
| XYZ | xyz(10.9125, 6.1442, 15.6470) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.97
Purple
#800080
ΔE00 4.64
Rich Purple
#720058
ΔE00 5.52
Grape
#6C3461
ΔE00 6.03
Darkmagenta
#8B008B
ΔE00 6.04
Grape Purple
#5D1451
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#76226F #227629
analogous
#532276 #76226F #762245
triadic
#76226F #6F7622 #226F76
tetradic
#76226F #765322 #227629 #224576
square
#76226F #765322 #227629 #224576
split-complementary
#76226F #457622 #227653
monochromatic
#180716 #461442 #76226F #A6309C #CA48BF
Accessibility & contrast
On white
9.42
#76226F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#76226F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #76226F
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##76226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##76226F | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3F71
Deuteranopia (green-blind)
#3B4A6D
Tritanopia (blue-blind)
#7B2B45
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #76226f; /* rgb */ color: rgb(118, 34, 111); /* oklch */ color: oklch(41.4% 0.149 331.5);
Tailwind
colors: {
custom: {
50: '#a06598',
500: '#76226f',
950: '#000000',
},
}SCSS
$custom: #76226f; $custom-light: #a06598; $custom-dark: #000000;
JSON
{
"hex": "#76226f",
"rgb": {
"r": 118,
"g": 34,
"b": 111
},
"hsl": {
"h": 305,
"s": 55.263,
"l": 29.804
},
"oklch": {
"l": 0.41409,
"c": 0.14864,
"h": 331.5
},
"luminance": 0.06143
}Semantic roles & 50–950 ramp
primary
#76226F
secondary
#4BA953
accent
#DF5649
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E