#7B2B71#7B2B71
#7B2B71 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.141 H 333.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2B71 |
|---|---|
| RGB | rgb(123, 43, 113) |
| HSL | hsl(308, 48%, 33%) |
| HSV | hsv(308, 65%, 48%) |
| CMYK | cmyk(0%, 65%, 8.1%, 51.8%) |
| CIE-LAB | lab(32.11, 43.57, -23.39) |
| CIE-LCH | lch(32.11, 49.45, 331.77°) |
| OKLab | oklab(43.3% 0.1254 -0.064) |
| OKLCH | oklch(43.3% 0.141 333) |
| XYZ | xyz(12.0129, 7.1319, 16.3635) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.91
Grape
#6C3461
ΔE00 5.12
Bruise
#7E4071
ΔE00 5.47
Purple
#800080
ΔE00 5.96
Warm Purple
#952E8F
ΔE00 6.55
Darkmagenta
#8B008B
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2B71 #2B7B35
analogous
#5D2B7B #7B2B71 #7B2B49
triadic
#7B2B71 #717B2B #2B717B
tetradic
#7B2B71 #7B5D2B #2B7B35 #2B497B
square
#7B2B71 #7B5D2B #2B7B35 #2B497B
split-complementary
#7B2B71 #497B2B #2B7B5D
monochromatic
#200B1E #4E1B47 #7B2B71 #A83B9B #C65BB8
Accessibility & contrast
On white
8.66
#7B2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#7B2B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2B71
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2B71 | 1.00 | 8.66 | 2.43 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#43506F
Tritanopia (blue-blind)
#80324A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7b2b71; /* rgb */ color: rgb(123, 43, 113); /* oklch */ color: oklch(43.3% 0.141 333.0);
Tailwind
colors: {
custom: {
50: '#a46a9a',
500: '#7b2b71',
950: '#000000',
},
}SCSS
$custom: #7b2b71; $custom-light: #a46a9a; $custom-dark: #000000;
JSON
{
"hex": "#7b2b71",
"rgb": {
"r": 123,
"g": 43,
"b": 113
},
"hsl": {
"h": 307.5,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.43301,
"c": 0.14076,
"h": 333
},
"luminance": 0.07131
}Semantic roles & 50–950 ramp
primary
#7B2B71
secondary
#56AB61
accent
#D86150
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E