#782B79#782B79
#782B79 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.146 H 327.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #782B79 |
|---|---|
| RGB | rgb(120, 43, 121) |
| HSL | hsl(299, 48%, 32%) |
| HSV | hsv(299, 64%, 47%) |
| CMYK | cmyk(0.8%, 64.5%, 0%, 52.5%) |
| CIE-LAB | lab(32.04, 44.19, -28.59) |
| CIE-LCH | lch(32.04, 52.63, 327.10°) |
| OKLab | oklab(43.29% 0.1227 -0.079) |
| OKLCH | oklch(43.29% 0.146 327.2) |
| XYZ | xyz(12.0606, 7.1021, 18.8210) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.09
Purple
#800080
ΔE00 4.82
Darkmagenta
#8B008B
ΔE00 5.50
Warm Purple
#952E8F
ΔE00 6.11
Grape
#6C3461
ΔE00 6.56
Bruise
#7E4071
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782B79 #2C792B
analogous
#512B79 #782B79 #792B53
triadic
#782B79 #79782B #2B7978
tetradic
#782B79 #79512B #2C792B #2B5379
square
#782B79 #79512B #2C792B #2B5379
split-complementary
#782B79 #53792B #2B7951
monochromatic
#1E0B1F #4B1B4C #782B79 #A53BA6 #C35AC4
Accessibility & contrast
On white
8.68
#782B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#782B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782B79
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782B79 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#3D4F77
Tritanopia (blue-blind)
#7B354E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #782b79; /* rgb */ color: rgb(120, 43, 121); /* oklch */ color: oklch(43.3% 0.146 327.2);
Tailwind
colors: {
custom: {
50: '#a26aa0',
500: '#782b79',
950: '#000000',
},
}SCSS
$custom: #782b79; $custom-light: #a26aa0; $custom-dark: #000000;
JSON
{
"hex": "#782b79",
"rgb": {
"r": 120,
"g": 43,
"b": 121
},
"hsl": {
"h": 299.231,
"s": 47.561,
"l": 32.157
},
"oklch": {
"l": 0.43293,
"c": 0.14588,
"h": 327.2
},
"luminance": 0.07101
}Semantic roles & 50–950 ramp
primary
#782B79
secondary
#57AA56
accent
#D75152
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E