#762F78#762F78
#762F78 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.138 H 326.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #762F78 |
|---|---|
| RGB | rgb(118, 47, 120) |
| HSL | hsl(298, 44%, 33%) |
| HSV | hsv(298, 61%, 47%) |
| CMYK | cmyk(1.7%, 60.8%, 0%, 52.9%) |
| CIE-LAB | lab(32.35, 41.57, -27.49) |
| CIE-LCH | lch(32.35, 49.84, 326.53°) |
| OKLab | oklab(43.44% 0.1149 -0.0759) |
| OKLCH | oklch(43.44% 0.138 326.5) |
| XYZ | xyz(11.8777, 7.2414, 18.5378) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.82
Purple
#800080
ΔE00 5.71
Grape
#6C3461
ΔE00 5.97
Bruise
#7E4071
ΔE00 6.19
Darkmagenta
#8B008B
ΔE00 6.34
Warm Purple
#952E8F
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762F78 #31782F
analogous
#512F78 #762F78 #782F55
triadic
#762F78 #78762F #2F7876
tetradic
#762F78 #78512F #31782F #2F5578
square
#762F78 #78512F #31782F #2F5578
split-complementary
#762F78 #55782F #2F7851
monochromatic
#200D20 #4B1E4C #762F78 #A140A4 #BE60C1
Accessibility & contrast
On white
8.58
#762F78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#762F78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762F78
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762F78 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26467A
Deuteranopia (green-blind)
#3E4F76
Tritanopia (blue-blind)
#79384F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #762f78; /* rgb */ color: rgb(118, 47, 120); /* oklch */ color: oklch(43.4% 0.138 326.5);
Tailwind
colors: {
custom: {
50: '#a06c9f',
500: '#762f78',
950: '#000000',
},
}SCSS
$custom: #762f78; $custom-light: #a06c9f; $custom-dark: #000000;
JSON
{
"hex": "#762f78",
"rgb": {
"r": 118,
"g": 47,
"b": 120
},
"hsl": {
"h": 298.356,
"s": 43.713,
"l": 32.745
},
"oklch": {
"l": 0.43438,
"c": 0.13766,
"h": 326.5
},
"luminance": 0.07241
}Semantic roles & 50–950 ramp
primary
#762F78
secondary
#5DA85B
accent
#D35458
background
#FAF6F9
surface
#F3ECF2
border
#CDC7CC
text
#0F070E
muted
#7F7A7E