#7A337B#7A337B
#7A337B is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.7% C 0.137 H 327.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7A337B |
|---|---|
| RGB | rgb(122, 51, 123) |
| HSL | hsl(299, 41%, 34%) |
| HSV | hsv(299, 59%, 48%) |
| CMYK | cmyk(0.8%, 58.5%, 0%, 51.8%) |
| CIE-LAB | lab(33.85, 41.32, -26.97) |
| CIE-LCH | lch(33.85, 49.34, 326.87°) |
| OKLab | oklab(44.71% 0.1146 -0.0743) |
| OKLCH | oklch(44.71% 0.137 327) |
| XYZ | xyz(12.7848, 7.9361, 19.5935) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.83
Bruise
#7E4071
ΔE00 5.42
Light Eggplant
#894585
ΔE00 5.46
Warm Purple
#952E8F
ΔE00 5.57
Grape
#6C3461
ΔE00 6.16
Purple
#800080
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A337B #347B33
analogous
#56337B #7A337B #7B3358
triadic
#7A337B #7B7A33 #337B7A
tetradic
#7A337B #7B5633 #347B33 #33587B
square
#7A337B #7B5633 #347B33 #33587B
split-complementary
#7A337B #587B33 #337B56
monochromatic
#240F24 #4F2150 #7A337B #A545A6 #BF68C0
Accessibility & contrast
On white
8.12
#7A337B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#7A337B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A337B
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A337B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A337B | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4A7D
Deuteranopia (green-blind)
#425379
Tritanopia (blue-blind)
#7D3C52
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #7a337b; /* rgb */ color: rgb(122, 51, 123); /* oklch */ color: oklch(44.7% 0.137 327.0);
Tailwind
colors: {
custom: {
50: '#a36fa1',
500: '#7a337b',
950: '#000000',
},
}SCSS
$custom: #7a337b; $custom-light: #a36fa1; $custom-dark: #000000;
JSON
{
"hex": "#7a337b",
"rgb": {
"r": 122,
"g": 51,
"b": 123
},
"hsl": {
"h": 299.167,
"s": 41.379,
"l": 34.118
},
"oklch": {
"l": 0.44711,
"c": 0.13655,
"h": 327
},
"luminance": 0.07935
}Semantic roles & 50–950 ramp
primary
#7A337B
secondary
#63A862
accent
#D15758
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F080F
muted
#7F7B7E