#70226E#70226E
#70226E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.4% C 0.144 H 328.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #70226E |
|---|---|
| RGB | rgb(112, 34, 110) |
| HSL | hsl(302, 53%, 29%) |
| HSV | hsv(302, 70%, 44%) |
| CMYK | cmyk(0%, 69.6%, 1.8%, 56.1%) |
| CIE-LAB | lab(28.68, 43.98, -26.99) |
| CIE-LCH | lch(28.68, 51.60, 328.47°) |
| OKLab | oklab(40.4% 0.1235 -0.0745) |
| OKLCH | oklch(40.4% 0.144 328.9) |
| XYZ | xyz(10.0685, 5.7153, 15.3217) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.81
Purple
#800080
ΔE00 4.84
Rich Purple
#720058
ΔE00 5.75
Grape
#6C3461
ΔE00 6.16
Grape Purple
#5D1451
ΔE00 6.18
Darkmagenta
#8B008B
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#70226E #227024
analogous
#4B2270 #70226E #702247
triadic
#70226E #6E7022 #226E70
tetradic
#70226E #704B22 #227024 #224770
square
#70226E #704B22 #227024 #224770
split-complementary
#70226E #477022 #22704B
monochromatic
#170717 #411440 #70226E #9F309C #C746C3
Accessibility & contrast
On white
9.80
#70226E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#70226E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #70226E
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##70226E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##70226E | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193D70
Deuteranopia (green-blind)
#37476C
Tritanopia (blue-blind)
#742C45
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #70226e; /* rgb */ color: rgb(112, 34, 110); /* oklch */ color: oklch(40.4% 0.144 328.9);
Tailwind
colors: {
custom: {
50: '#9c6498',
500: '#70226e',
950: '#000000',
},
}SCSS
$custom: #70226e; $custom-light: #9c6498; $custom-dark: #000000;
JSON
{
"hex": "#70226e",
"rgb": {
"r": 112,
"g": 34,
"b": 110
},
"hsl": {
"h": 301.538,
"s": 53.425,
"l": 28.627
},
"oklch": {
"l": 0.40401,
"c": 0.14426,
"h": 328.9
},
"luminance": 0.05715
}Semantic roles & 50–950 ramp
primary
#70226E
secondary
#4AA34D
accent
#DD4F4B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E