#782575#782575
#782575 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.151 H 329.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #782575 |
|---|---|
| RGB | rgb(120, 37, 117) |
| HSL | hsl(302, 53%, 31%) |
| HSV | hsv(302, 69%, 47%) |
| CMYK | cmyk(0%, 69.2%, 2.5%, 52.9%) |
| CIE-LAB | lab(30.88, 46.07, -27.89) |
| CIE-LCH | lch(30.88, 53.85, 328.81°) |
| OKLab | oklab(42.38% 0.1298 -0.0769) |
| OKLCH | oklch(42.38% 0.151 329.3) |
| XYZ | xyz(11.6181, 6.6014, 17.4884) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.05
Purple
#800080
ΔE00 4.20
Darkmagenta
#8B008B
ΔE00 5.29
Grape
#6C3461
ΔE00 6.55
Warm Purple
#952E8F
ΔE00 6.68
Rich Purple
#720058
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782575 #257828
analogous
#512578 #782575 #78254B
triadic
#782575 #757825 #257578
tetradic
#782575 #785125 #257828 #254B78
square
#782575 #785125 #257828 #254B78
split-complementary
#782575 #4B7825 #257851
monochromatic
#1A081A #491747 #782575 #A733A3 #C94FC4
Accessibility & contrast
On white
9.05
#782575 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#782575 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782575
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782575 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782575 | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4277
Deuteranopia (green-blind)
#3B4D73
Tritanopia (blue-blind)
#7C2F4A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #782575; /* rgb */ color: rgb(120, 37, 117); /* oklch */ color: oklch(42.4% 0.151 329.3);
Tailwind
colors: {
custom: {
50: '#a2679d',
500: '#782575',
950: '#000000',
},
}SCSS
$custom: #782575; $custom-light: #a2679d; $custom-dark: #000000;
JSON
{
"hex": "#782575",
"rgb": {
"r": 120,
"g": 37,
"b": 117
},
"hsl": {
"h": 302.169,
"s": 52.866,
"l": 30.784
},
"oklch": {
"l": 0.42384,
"c": 0.15086,
"h": 329.3
},
"luminance": 0.06601
}Semantic roles & 50–950 ramp
primary
#782575
secondary
#4EAA52
accent
#DC514C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E