#7B2F71#7B2F71
#7B2F71 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.135 H 333.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2F71 |
|---|---|
| RGB | rgb(123, 47, 113) |
| HSL | hsl(308, 45%, 33%) |
| HSV | hsv(308, 62%, 48%) |
| CMYK | cmyk(0%, 61.8%, 8.1%, 51.8%) |
| CIE-LAB | lab(32.78, 41.71, -22.34) |
| CIE-LCH | lch(32.78, 47.32, 331.83°) |
| OKLab | oklab(43.8% 0.12 -0.061) |
| OKLCH | oklch(43.8% 0.135 333.1) |
| XYZ | xyz(12.1655, 7.4371, 16.4143) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Bruise
#7E4071
ΔE00 4.62
Grape
#6C3461
ΔE00 4.64
Darkish Purple
#751973
ΔE00 4.72
Light Eggplant
#894585
ΔE00 6.26
Warm Purple
#952E8F
ΔE00 6.57
Purple
#800080
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2F71 #2F7B39
analogous
#5F2F7B #7B2F71 #7B2F4B
triadic
#7B2F71 #717B2F #2F717B
tetradic
#7B2F71 #7B5F2F #2F7B39 #2F4B7B
square
#7B2F71 #7B5F2F #2F7B39 #2F4B7B
split-complementary
#7B2F71 #4B7B2F #2F7B5F
monochromatic
#220D20 #4F1E48 #7B2F71 #A7409A #C362B6
Accessibility & contrast
On white
8.44
#7B2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#7B2F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2F71
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2F71 | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#45516F
Tritanopia (blue-blind)
#80354B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7b2f71; /* rgb */ color: rgb(123, 47, 113); /* oklch */ color: oklch(43.8% 0.135 333.1);
Tailwind
colors: {
custom: {
50: '#a46d9a',
500: '#7b2f71',
950: '#000000',
},
}SCSS
$custom: #7b2f71; $custom-light: #a46d9a; $custom-dark: #000000;
JSON
{
"hex": "#7b2f71",
"rgb": {
"r": 123,
"g": 47,
"b": 113
},
"hsl": {
"h": 307.895,
"s": 44.706,
"l": 33.333
},
"oklch": {
"l": 0.43796,
"c": 0.13458,
"h": 333.1
},
"luminance": 0.07436
}Semantic roles & 50–950 ramp
primary
#7B2F71
secondary
#5CAA66
accent
#D46453
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E