#781F73#781F73

#781F73 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.157 H 330.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#781F73
RGBrgb(120, 31, 115)
HSLhsl(303, 59%, 30%)
HSVhsv(303, 74%, 47%)
CMYKcmyk(0%, 74.2%, 4.2%, 52.9%)
CIE-LABlab(29.94, 48.06, -28.10)
CIE-LCHlch(29.94, 55.67, 329.68°)
OKLaboklab(41.67% 0.1364 -0.0775)
OKLCHoklch(41.67% 0.157 330.4)
XYZxyz(11.3302, 6.2117, 16.8186)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F73 #1F7824
analogous
#511F78 #781F73 #781F47
triadic
#781F73 #73781F #1F7378
tetradic
#781F73 #78511F #1F7824 #1F4778
square
#781F73 #78511F #1F7824 #1F4778
split-complementary
#781F73 #47781F #1F7851
monochromatic
#180617 #471244 #781F73 #A92CA2 #CE43C7

Accessibility & contrast

On white

9.37
#781F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#781F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F73
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F73#FFFFFF#000000##FFFFFF
##781F731.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F75
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#7D2A47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781f73;
/* rgb */ color: rgb(120, 31, 115);
/* oklch */ color: oklch(41.7% 0.157 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2649b',
    500: '#781f73',
    950: '#000000',
  },
}
SCSS
$custom: #781f73;
$custom-light: #a2649b;
$custom-dark: #000000;
JSON
{
  "hex": "#781f73",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 303.371,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41669,
    "c": 0.15687,
    "h": 330.4
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#781F73
secondary
#47AB4D
accent
#E24E46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781F73

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

Preview Lab → · Contrast checker → · Palette generator →

#781F73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva