#7B2E71#7B2E71
#7B2E71 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.7% C 0.136 H 333.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2E71 |
|---|---|
| RGB | rgb(123, 46, 113) |
| HSL | hsl(308, 46%, 33%) |
| HSV | hsv(308, 63%, 48%) |
| CMYK | cmyk(0%, 62.6%, 8.1%, 51.8%) |
| CIE-LAB | lab(32.61, 42.19, -22.61) |
| CIE-LCH | lch(32.61, 47.86, 331.81°) |
| OKLab | oklab(43.67% 0.1214 -0.0617) |
| OKLCH | oklch(43.67% 0.136 333) |
| XYZ | xyz(12.1260, 7.3581, 16.4012) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.51
Grape
#6C3461
ΔE00 4.76
Bruise
#7E4071
ΔE00 4.84
Light Eggplant
#894585
ΔE00 6.42
Purple
#800080
ΔE00 6.54
Warm Purple
#952E8F
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2E71 #2E7B38
analogous
#5E2E7B #7B2E71 #7B2E4A
triadic
#7B2E71 #717B2E #2E717B
tetradic
#7B2E71 #7B5E2E #2E7B38 #2E4A7B
square
#7B2E71 #7B5E2E #2E7B38 #2E4A7B
split-complementary
#7B2E71 #4A7B2E #2E7B5E
monochromatic
#220D1F #4E1D48 #7B2E71 #A83F9A #C360B7
Accessibility & contrast
On white
8.50
#7B2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#7B2E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2E71
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2E71 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#44516F
Tritanopia (blue-blind)
#80344B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7b2e71; /* rgb */ color: rgb(123, 46, 113); /* oklch */ color: oklch(43.7% 0.136 333.0);
Tailwind
colors: {
custom: {
50: '#a46c9a',
500: '#7b2e71',
950: '#000000',
},
}SCSS
$custom: #7b2e71; $custom-light: #a46c9a; $custom-dark: #000000;
JSON
{
"hex": "#7b2e71",
"rgb": {
"r": 123,
"g": 46,
"b": 113
},
"hsl": {
"h": 307.792,
"s": 45.562,
"l": 33.137
},
"oklch": {
"l": 0.43669,
"c": 0.13616,
"h": 333
},
"luminance": 0.07357
}Semantic roles & 50–950 ramp
primary
#7B2E71
secondary
#5BAA65
accent
#D56453
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E