#7B2B72#7B2B72
#7B2B72 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.142 H 332.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2B72 |
|---|---|
| RGB | rgb(123, 43, 114) |
| HSL | hsl(307, 48%, 33%) |
| HSV | hsv(307, 65%, 48%) |
| CMYK | cmyk(0%, 65%, 7.3%, 51.8%) |
| CIE-LAB | lab(32.16, 43.75, -23.95) |
| CIE-LCH | lch(32.16, 49.87, 331.30°) |
| OKLab | oklab(43.36% 0.1255 -0.0655) |
| OKLCH | oklch(43.36% 0.142 332.4) |
| XYZ | xyz(12.0695, 7.1545, 16.6616) |
| Luminance | 0.0715 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.78
Grape
#6C3461
ΔE00 5.28
Bruise
#7E4071
ΔE00 5.58
Purple
#800080
ΔE00 5.80
Warm Purple
#952E8F
ΔE00 6.41
Darkmagenta
#8B008B
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2B72 #2B7B34
analogous
#5C2B7B #7B2B72 #7B2B4A
triadic
#7B2B72 #727B2B #2B727B
tetradic
#7B2B72 #7B5C2B #2B7B34 #2B4A7B
square
#7B2B72 #7B5C2B #2B7B34 #2B4A7B
split-complementary
#7B2B72 #4A7B2B #2B7B5C
monochromatic
#200B1E #4E1B48 #7B2B72 #A83B9C #C65BBA
Accessibility & contrast
On white
8.64
#7B2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#7B2B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2B72
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2B72 | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284474
Deuteranopia (green-blind)
#425070
Tritanopia (blue-blind)
#80324A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #7b2b72; /* rgb */ color: rgb(123, 43, 114); /* oklch */ color: oklch(43.4% 0.142 332.4);
Tailwind
colors: {
custom: {
50: '#a46a9b',
500: '#7b2b72',
950: '#000000',
},
}SCSS
$custom: #7b2b72; $custom-light: #a46a9b; $custom-dark: #000000;
JSON
{
"hex": "#7b2b72",
"rgb": {
"r": 123,
"g": 43,
"b": 114
},
"hsl": {
"h": 306.75,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.43355,
"c": 0.14161,
"h": 332.4
},
"luminance": 0.07154
}Semantic roles & 50–950 ramp
primary
#7B2B72
secondary
#56AB60
accent
#D85F50
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E