#781970#781970

#781970 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.161 H 331.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#781970
RGBrgb(120, 25, 112)
HSLhsl(305, 66%, 28%)
HSVhsv(305, 79%, 47%)
CMYKcmyk(0%, 79.2%, 6.7%, 52.9%)
CIE-LABlab(29.05, 49.60, -27.59)
CIE-LCHlch(29.05, 56.75, 330.91°)
OKLaboklab(40.98% 0.1422 -0.0759)
OKLCHoklch(40.98% 0.161 331.9)
XYZxyz(11.0180, 5.8591, 15.8767)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781970 #197821
analogous
#501978 #781970 #781940
triadic
#781970 #707819 #197078
tetradic
#781970 #785019 #197821 #194078
square
#781970 #785019 #197821 #194078
split-complementary
#781970 #407819 #197850
monochromatic
#190518 #450E41 #781970 #AB249F #D536C8

Accessibility & contrast

On white

9.67
#781970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#781970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781970
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781970#FFFFFF#000000##FFFFFF
##7819701.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113C72
Deuteranopia (green-blind)
#39496E
Tritanopia (blue-blind)
#7D2543
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781970;
/* rgb */ color: rgb(120, 25, 112);
/* oklch */ color: oklch(41.0% 0.161 331.9);
Tailwind
colors: {
  custom: {
    50: '#a26299',
    500: '#781970',
    950: '#000000',
  },
}
SCSS
$custom: #781970;
$custom-light: #a26299;
$custom-dark: #000000;
JSON
{
  "hex": "#781970",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 305.053,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40978,
    "c": 0.16121,
    "h": 331.9
  },
  "luminance": 0.05858
}

Semantic roles & 50–950 ramp

primary
#781970
secondary
#40AD49
accent
#E84E3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781970

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

Preview Lab → · Contrast checker → · Palette generator →

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