#7B2F73#7B2F73
#7B2F73 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 43.9% C 0.136 H 331.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2F73 |
|---|---|
| RGB | rgb(123, 47, 115) |
| HSL | hsl(306, 45%, 33%) |
| HSV | hsv(306, 62%, 48%) |
| CMYK | cmyk(0%, 61.8%, 6.5%, 51.8%) |
| CIE-LAB | lab(32.88, 42.07, -23.45) |
| CIE-LCH | lch(32.88, 48.16, 330.87°) |
| OKLab | oklab(43.9% 0.1203 -0.0641) |
| OKLCH | oklch(43.9% 0.136 331.9) |
| XYZ | xyz(12.2794, 7.4827, 17.0139) |
| Luminance | 0.0748 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.48
Bruise
#7E4071
ΔE00 4.86
Grape
#6C3461
ΔE00 4.99
Light Eggplant
#894585
ΔE00 6.15
Warm Purple
#952E8F
ΔE00 6.27
Purple
#800080
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2F73 #2F7B37
analogous
#5D2F7B #7B2F73 #7B2F4D
triadic
#7B2F73 #737B2F #2F737B
tetradic
#7B2F73 #7B5D2F #2F7B37 #2F4D7B
square
#7B2F73 #7B5D2F #2F7B37 #2F4D7B
split-complementary
#7B2F73 #4D7B2F #2F7B5D
monochromatic
#220D20 #4F1E4A #7B2F73 #A7409C #C362B9
Accessibility & contrast
On white
8.41
#7B2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#7B2F73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2F73
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2F73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2F73 | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4675
Deuteranopia (green-blind)
#445171
Tritanopia (blue-blind)
#80354C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7b2f73; /* rgb */ color: rgb(123, 47, 115); /* oklch */ color: oklch(43.9% 0.136 331.9);
Tailwind
colors: {
custom: {
50: '#a46d9b',
500: '#7b2f73',
950: '#000000',
},
}SCSS
$custom: #7b2f73; $custom-light: #a46d9b; $custom-dark: #000000;
JSON
{
"hex": "#7b2f73",
"rgb": {
"r": 123,
"g": 47,
"b": 115
},
"hsl": {
"h": 306.316,
"s": 44.706,
"l": 33.333
},
"oklch": {
"l": 0.43901,
"c": 0.13632,
"h": 331.9
},
"luminance": 0.07482
}Semantic roles & 50–950 ramp
primary
#7B2F73
secondary
#5CAA64
accent
#D46153
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E