#781973#781973

#781973 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.164 H 330.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#781973
RGBrgb(120, 25, 115)
HSLhsl(303, 66%, 28%)
HSVhsv(303, 79%, 47%)
CMYKcmyk(0%, 79.2%, 4.2%, 52.9%)
CIE-LABlab(29.23, 50.09, -29.23)
CIE-LCHlch(29.23, 58.00, 329.74°)
OKLaboklab(41.16% 0.1422 -0.0807)
OKLCHoklch(41.16% 0.164 330.4)
XYZxyz(11.1878, 5.9270, 16.7711)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781973 #19781E
analogous
#4D1978 #781973 #781943
triadic
#781973 #737819 #197378
tetradic
#781973 #784D19 #19781E #194378
square
#781973 #784D19 #19781E #194378
split-complementary
#781973 #437819 #19784D
monochromatic
#190518 #450E42 #781973 #AB24A4 #D536CD

Accessibility & contrast

On white

9.61
#781973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#781973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781973
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781973#FFFFFF#000000##FFFFFF
##7819731.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D75
Deuteranopia (green-blind)
#374971
Tritanopia (blue-blind)
#7D2645
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781973;
/* rgb */ color: rgb(120, 25, 115);
/* oklch */ color: oklch(41.2% 0.164 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2629b',
    500: '#781973',
    950: '#000000',
  },
}
SCSS
$custom: #781973;
$custom-light: #a2629b;
$custom-dark: #000000;
JSON
{
  "hex": "#781973",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 303.158,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41158,
    "c": 0.16355,
    "h": 330.4
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#781973
secondary
#40AD46
accent
#E8483F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781973

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

Preview Lab → · Contrast checker → · Palette generator →

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