#7B337A#7B337A
#7B337A is a dark, vivid purple. Relative luminance 0.080; OKLCH L 44.8% C 0.136 H 328.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7B337A |
|---|---|
| RGB | rgb(123, 51, 122) |
| HSL | hsl(301, 41%, 34%) |
| HSV | hsv(301, 59%, 48%) |
| CMYK | cmyk(0%, 58.5%, 0.8%, 51.8%) |
| CIE-LAB | lab(33.95, 41.42, -26.17) |
| CIE-LCH | lch(33.95, 48.99, 327.71°) |
| OKLab | oklab(44.8% 0.1157 -0.072) |
| OKLCH | oklch(44.8% 0.136 328.1) |
| XYZ | xyz(12.8649, 7.9845, 19.2721) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.91
Bruise
#7E4071
ΔE00 5.12
Light Eggplant
#894585
ΔE00 5.31
Warm Purple
#952E8F
ΔE00 5.51
Grape
#6C3461
ΔE00 5.96
Purple
#800080
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B337A #337B34
analogous
#58337B #7B337A #7B3356
triadic
#7B337A #7A7B33 #337A7B
tetradic
#7B337A #7B5833 #337B34 #33567B
square
#7B337A #7B5833 #337B34 #33567B
split-complementary
#7B337A #567B33 #337B58
monochromatic
#240F24 #50214F #7B337A #A645A5 #C068BF
Accessibility & contrast
On white
8.09
#7B337A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#7B337A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B337A
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B337A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B337A | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4A7C
Deuteranopia (green-blind)
#435378
Tritanopia (blue-blind)
#7F3B51
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #7b337a; /* rgb */ color: rgb(123, 51, 122); /* oklch */ color: oklch(44.8% 0.136 328.1);
Tailwind
colors: {
custom: {
50: '#a36fa0',
500: '#7b337a',
950: '#000000',
},
}SCSS
$custom: #7b337a; $custom-light: #a36fa0; $custom-dark: #000000;
JSON
{
"hex": "#7b337a",
"rgb": {
"r": 123,
"g": 51,
"b": 122
},
"hsl": {
"h": 300.833,
"s": 41.379,
"l": 34.118
},
"oklch": {
"l": 0.44799,
"c": 0.13624,
"h": 328.1
},
"luminance": 0.07984
}Semantic roles & 50–950 ramp
primary
#7B337A
secondary
#62A863
accent
#D15857
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F080F
muted
#7F7B7E