#702F71#702F71
#702F71 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.2% C 0.127 H 327.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #702F71 |
|---|---|
| RGB | rgb(112, 47, 113) |
| HSL | hsl(299, 41%, 31%) |
| HSV | hsv(299, 58%, 44%) |
| CMYK | cmyk(0.9%, 58.4%, 0%, 55.7%) |
| CIE-LAB | lab(31.05, 38.49, -25.18) |
| CIE-LCH | lch(31.05, 45.99, 326.81°) |
| OKLab | oklab(42.17% 0.1067 -0.0694) |
| OKLCH | oklch(42.17% 0.127 327) |
| XYZ | xyz(10.6791, 6.6707, 16.3447) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.08
Grape
#6C3461
ΔE00 4.72
Bruise
#7E4071
ΔE00 6.07
Purple
#800080
ΔE00 6.59
Light Eggplant
#894585
ΔE00 7.50
Darkmagenta
#8B008B
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#702F71 #30712F
analogous
#4F2F71 #702F71 #712F51
triadic
#702F71 #71702F #2F7170
tetradic
#702F71 #714F2F #30712F #2F5171
square
#702F71 #714F2F #30712F #2F5171
split-complementary
#702F71 #51712F #2F714F
monochromatic
#1A0B1B #451D46 #702F71 #9B419C #BB5EBC
Accessibility & contrast
On white
9.00
#702F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#702F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #702F71
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##702F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##702F71 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#73374B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #702f71; /* rgb */ color: rgb(112, 47, 113); /* oklch */ color: oklch(42.2% 0.127 327.0);
Tailwind
colors: {
custom: {
50: '#9b6b9a',
500: '#702f71',
950: '#000000',
},
}SCSS
$custom: #702f71; $custom-light: #9b6b9a; $custom-dark: #000000;
JSON
{
"hex": "#702f71",
"rgb": {
"r": 112,
"g": 47,
"b": 113
},
"hsl": {
"h": 299.091,
"s": 41.25,
"l": 31.373
},
"oklch": {
"l": 0.42172,
"c": 0.12724,
"h": 327
},
"luminance": 0.0667
}Semantic roles & 50–950 ramp
primary
#702F71
secondary
#5BA25A
accent
#D15759
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E