#7A2E73#7A2E73
#7A2E73 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.137 H 331.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2E73 |
|---|---|
| RGB | rgb(122, 46, 115) |
| HSL | hsl(306, 45%, 33%) |
| HSV | hsv(306, 62%, 48%) |
| CMYK | cmyk(0%, 62.3%, 5.7%, 52.2%) |
| CIE-LAB | lab(32.55, 42.26, -23.98) |
| CIE-LCH | lch(32.55, 48.59, 330.43°) |
| OKLab | oklab(43.62% 0.1205 -0.0657) |
| OKLCH | oklch(43.62% 0.137 331.4) |
| XYZ | xyz(12.0975, 7.3302, 16.9940) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.16
Grape
#6C3461
ΔE00 5.07
Bruise
#7E4071
ΔE00 5.17
Purple
#800080
ΔE00 6.17
Warm Purple
#952E8F
ΔE00 6.37
Light Eggplant
#894585
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2E73 #2E7A35
analogous
#5B2E7A #7A2E73 #7A2E4D
triadic
#7A2E73 #737A2E #2E737A
tetradic
#7A2E73 #7A5B2E #2E7A35 #2E4D7A
square
#7A2E73 #7A5B2E #2E7A35 #2E4D7A
split-complementary
#7A2E73 #4D7A2E #2E7A5B
monochromatic
#210C1F #4E1D49 #7A2E73 #A63F9D #C360BA
Accessibility & contrast
On white
8.52
#7A2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#7A2E73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2E73
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2E73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2E73 | 1.00 | 8.52 | 2.47 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#435071
Tritanopia (blue-blind)
#7F354C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7a2e73; /* rgb */ color: rgb(122, 46, 115); /* oklch */ color: oklch(43.6% 0.137 331.4);
Tailwind
colors: {
custom: {
50: '#a36c9b',
500: '#7a2e73',
950: '#000000',
},
}SCSS
$custom: #7a2e73; $custom-light: #a36c9b; $custom-dark: #000000;
JSON
{
"hex": "#7a2e73",
"rgb": {
"r": 122,
"g": 46,
"b": 115
},
"hsl": {
"h": 305.526,
"s": 45.238,
"l": 32.941
},
"oklch": {
"l": 0.43624,
"c": 0.13722,
"h": 331.4
},
"luminance": 0.07329
}Semantic roles & 50–950 ramp
primary
#7A2E73
secondary
#5AAA62
accent
#D55F53
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E