#791473#791473

#791473 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.169 H 330.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#791473
RGBrgb(121, 20, 115)
HSLhsl(304, 72%, 28%)
HSVhsv(304, 83%, 47%)
CMYKcmyk(0%, 83.5%, 5%, 52.5%)
CIE-LABlab(28.91, 51.76, -29.72)
CIE-LCHlch(28.91, 59.68, 330.14°)
OKLaboklab(40.97% 0.1475 -0.0821)
OKLCHoklch(40.97% 0.169 330.9)
XYZxyz(11.2298, 5.8040, 16.7452)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791473 #14791A
analogous
#4C1479 #791473 #791441
triadic
#791473 #737914 #147379
tetradic
#791473 #794C14 #14791A #144179
square
#791473 #794C14 #14791A #144179
split-complementary
#791473 #417914 #14794C
monochromatic
#1A0419 #440B41 #791473 #AE1DA5 #DC2BD2

Accessibility & contrast

On white

9.72
#791473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#791473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791473
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791473#FFFFFF#000000##FFFFFF
##7914731.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043B75
Deuteranopia (green-blind)
#364971
Tritanopia (blue-blind)
#7E2344
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791473;
/* rgb */ color: rgb(121, 20, 115);
/* oklch */ color: oklch(41.0% 0.169 330.9);
Tailwind
colors: {
  custom: {
    50: '#a3609c',
    500: '#791473',
    950: '#000000',
  },
}
SCSS
$custom: #791473;
$custom-light: #a3609c;
$custom-dark: #000000;
JSON
{
  "hex": "#791473",
  "rgb": {
    "r": 121,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 303.564,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40968,
    "c": 0.16879,
    "h": 330.9
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#791473
secondary
#3AAF41
accent
#EE4439
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #791473

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

Preview Lab → · Contrast checker → · Palette generator →

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