#782071#782071

#782071 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.154 H 331.4°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#782071
RGBrgb(120, 32, 113)
HSLhsl(305, 58%, 30%)
HSVhsv(305, 73%, 47%)
CMYKcmyk(0%, 73.3%, 5.8%, 52.9%)
CIE-LABlab(29.96, 47.34, -26.80)
CIE-LCHlch(29.96, 54.40, 330.49°)
OKLaboklab(41.65% 0.1352 -0.0737)
OKLCHoklch(41.65% 0.154 331.4)
XYZxyz(11.2429, 6.2192, 16.2279)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782071 #207827
analogous
#532078 #782071 #782045
triadic
#782071 #717820 #207178
tetradic
#782071 #785320 #207827 #204578
square
#782071 #785320 #207827 #204578
split-complementary
#782071 #457820 #207853
monochromatic
#180617 #481344 #782071 #A82D9E #CD45C3

Accessibility & contrast

On white

9.36
#782071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#782071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782071
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782071#FFFFFF#000000##FFFFFF
##7820711.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F73
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#7D2A46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #782071;
/* rgb */ color: rgb(120, 32, 113);
/* oklch */ color: oklch(41.6% 0.154 331.4);
Tailwind
colors: {
  custom: {
    50: '#a2659a',
    500: '#782071',
    950: '#000000',
  },
}
SCSS
$custom: #782071;
$custom-light: #a2659a;
$custom-dark: #000000;
JSON
{
  "hex": "#782071",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 304.773,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41646,
    "c": 0.15401,
    "h": 331.4
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#782071
secondary
#48AB50
accent
#E15347
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #782071

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

Preview Lab → · Contrast checker → · Palette generator →

#782071 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva