#7B1E71#7B1E71
#7B1E71 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.158 H 332.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1E71 |
|---|---|
| RGB | rgb(123, 30, 113) |
| HSL | hsl(306, 61%, 30%) |
| HSV | hsv(306, 76%, 48%) |
| CMYK | cmyk(0%, 75.6%, 8.1%, 51.8%) |
| CIE-LAB | lab(30.24, 48.81, -26.33) |
| CIE-LCH | lch(30.24, 55.46, 331.66°) |
| OKLab | oklab(41.95% 0.1407 -0.0723) |
| OKLCH | oklch(41.95% 0.158 332.8) |
| XYZ | xyz(11.6133, 6.3327, 16.2303) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.99
Purple
#800080
ΔE00 4.04
Darkmagenta
#8B008B
ΔE00 5.30
Rich Purple
#720058
ΔE00 5.48
Grape
#6C3461
ΔE00 6.75
Velvet
#750851
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1E71 #1E7B28
analogous
#571E7B #7B1E71 #7B1E42
triadic
#7B1E71 #717B1E #1E717B
tetradic
#7B1E71 #7B571E #1E7B28 #1E427B
square
#7B1E71 #7B571E #1E7B28 #1E427B
split-complementary
#7B1E71 #427B1E #1E7B57
monochromatic
#190617 #4A1244 #7B1E71 #AC2A9E #D142C2
Accessibility & contrast
On white
9.27
#7B1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7B1E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1E71
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1E71 | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193F73
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#812845
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7b1e71; /* rgb */ color: rgb(123, 30, 113); /* oklch */ color: oklch(41.9% 0.158 332.8);
Tailwind
colors: {
custom: {
50: '#a4649a',
500: '#7b1e71',
950: '#000000',
},
}SCSS
$custom: #7b1e71; $custom-light: #a4649a; $custom-dark: #000000;
JSON
{
"hex": "#7b1e71",
"rgb": {
"r": 123,
"g": 30,
"b": 113
},
"hsl": {
"h": 306.452,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.41948,
"c": 0.15815,
"h": 332.8
},
"luminance": 0.06332
}Semantic roles & 50–950 ramp
primary
#7B1E71
secondary
#46AE52
accent
#E45544
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E