#782D72#782D72

#782D72 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.1% C 0.137 H 330.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#782D72
RGBrgb(120, 45, 114)
HSLhsl(305, 45%, 32%)
HSVhsv(305, 63%, 47%)
CMYKcmyk(0%, 62.5%, 5%, 52.9%)
CIE-LABlab(32.00, 41.97, -24.23)
CIE-LCHlch(32.00, 48.46, 330.01°)
OKLaboklab(43.14% 0.1193 -0.0664)
OKLCHoklch(43.14% 0.137 330.9)
XYZxyz(11.7213, 7.0856, 16.6666)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782D72 #2D7833
analogous
#592D78 #782D72 #782D4D
triadic
#782D72 #72782D #2D7278
tetradic
#782D72 #78592D #2D7833 #2D4D78
square
#782D72 #78592D #2D7833 #2D4D78
split-complementary
#782D72 #4D782D #2D7859
monochromatic
#1F0C1D #4B1C48 #782D72 #A53E9C #C25DBA

Accessibility & contrast

On white

8.69
#782D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#782D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782D72
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782D72#FFFFFF#000000##FFFFFF
##782D721.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294574
Deuteranopia (green-blind)
#414F70
Tritanopia (blue-blind)
#7D344B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782d72;
/* rgb */ color: rgb(120, 45, 114);
/* oklch */ color: oklch(43.1% 0.137 330.9);
Tailwind
colors: {
  custom: {
    50: '#a16b9b',
    500: '#782d72',
    950: '#000000',
  },
}
SCSS
$custom: #782d72;
$custom-light: #a16b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#782d72",
  "rgb": {
    "r": 120,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 304.8,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43144,
    "c": 0.13657,
    "h": 330.9
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#782D72
secondary
#58A95F
accent
#D55D53
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #782D72

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#782D72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva