#7B296F#7B296F
#7B296F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.142 H 334.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7B296F |
|---|---|
| RGB | rgb(123, 41, 111) |
| HSL | hsl(309, 50%, 32%) |
| HSV | hsv(309, 67%, 48%) |
| CMYK | cmyk(0%, 66.7%, 9.8%, 51.8%) |
| CIE-LAB | lab(31.68, 44.12, -22.78) |
| CIE-LCH | lch(31.68, 49.65, 332.69°) |
| OKLab | oklab(42.96% 0.1277 -0.0622) |
| OKLCH | oklch(42.96% 0.142 334) |
| XYZ | xyz(11.8306, 6.9455, 15.7534) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.84
Grape
#6C3461
ΔE00 5.08
Bruise
#7E4071
ΔE00 5.69
Purple
#800080
ΔE00 5.96
Rich Purple
#720058
ΔE00 6.23
Darkmagenta
#8B008B
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B296F #297B35
analogous
#5E297B #7B296F #7B2946
triadic
#7B296F #6F7B29 #296F7B
tetradic
#7B296F #7B5E29 #297B35 #29467B
square
#7B296F #7B5E29 #297B35 #29467B
split-complementary
#7B296F #467B29 #297B5E
monochromatic
#1F0A1C #4D1A46 #7B296F #A93898 #C757B7
Accessibility & contrast
On white
8.79
#7B296F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#7B296F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B296F
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B296F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B296F | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284371
Deuteranopia (green-blind)
#434F6D
Tritanopia (blue-blind)
#812F48
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7b296f; /* rgb */ color: rgb(123, 41, 111); /* oklch */ color: oklch(43.0% 0.142 334.0);
Tailwind
colors: {
custom: {
50: '#a46998',
500: '#7b296f',
950: '#000000',
},
}SCSS
$custom: #7b296f; $custom-light: #a46998; $custom-dark: #000000;
JSON
{
"hex": "#7b296f",
"rgb": {
"r": 123,
"g": 41,
"b": 111
},
"hsl": {
"h": 308.78,
"s": 50,
"l": 32.157
},
"oklch": {
"l": 0.4296,
"c": 0.14206,
"h": 334
},
"luminance": 0.06945
}Semantic roles & 50–950 ramp
primary
#7B296F
secondary
#53AC60
accent
#DA634E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E