#791973#791973

#791973 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.164 H 330.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#791973
RGBrgb(121, 25, 115)
HSLhsl(304, 66%, 29%)
HSVhsv(304, 79%, 47%)
CMYKcmyk(0%, 79.3%, 5%, 52.5%)
CIE-LABlab(29.41, 50.32, -28.93)
CIE-LCHlch(29.41, 58.05, 330.11°)
OKLaboklab(41.32% 0.1434 -0.0798)
OKLCHoklch(41.32% 0.164 330.9)
XYZxyz(11.3273, 5.9989, 16.7777)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791973 #19791F
analogous
#4F1979 #791973 #791943
triadic
#791973 #737919 #197379
tetradic
#791973 #794F19 #19791F #194379
square
#791973 #794F19 #19791F #194379
split-complementary
#791973 #437919 #19794F
monochromatic
#190518 #460F43 #791973 #AC23A3 #D637CC

Accessibility & contrast

On white

9.55
#791973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#791973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791973
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791973#FFFFFF#000000##FFFFFF
##7919731.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3D75
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#7E2645
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791973;
/* rgb */ color: rgb(121, 25, 115);
/* oklch */ color: oklch(41.3% 0.164 330.9);
Tailwind
colors: {
  custom: {
    50: '#a3629b',
    500: '#791973',
    950: '#000000',
  },
}
SCSS
$custom: #791973;
$custom-light: #a3629b;
$custom-dark: #000000;
JSON
{
  "hex": "#791973",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 303.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41323,
    "c": 0.16407,
    "h": 330.9
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#791973
secondary
#40AE47
accent
#E94A3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791973

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

Preview Lab → · Contrast checker → · Palette generator →

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