#791472#791472

#791472 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.168 H 331.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#791472
RGBrgb(121, 20, 114)
HSLhsl(304, 72%, 28%)
HSVhsv(304, 83%, 47%)
CMYKcmyk(0%, 83.5%, 5.8%, 52.5%)
CIE-LABlab(28.85, 51.60, -29.17)
CIE-LCHlch(28.85, 59.27, 330.52°)
OKLaboklab(40.91% 0.1475 -0.0805)
OKLCHoklch(40.91% 0.168 331.4)
XYZxyz(11.1726, 5.7811, 16.4438)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791472 #14791B
analogous
#4D1479 #791472 #791440
triadic
#791472 #727914 #147279
tetradic
#791472 #794D14 #14791B #144079
square
#791472 #794D14 #14791B #144079
split-complementary
#791472 #407914 #14794D
monochromatic
#1A0419 #440B41 #791472 #AE1DA3 #DC2BD0

Accessibility & contrast

On white

9.74
#791472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791472
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791472#FFFFFF#000000##FFFFFF
##7914721.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073B74
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#7E2243
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791472;
/* rgb */ color: rgb(121, 20, 114);
/* oklch */ color: oklch(40.9% 0.168 331.4);
Tailwind
colors: {
  custom: {
    50: '#a3609b',
    500: '#791472',
    950: '#000000',
  },
}
SCSS
$custom: #791472;
$custom-light: #a3609b;
$custom-dark: #000000;
JSON
{
  "hex": "#791472",
  "rgb": {
    "r": 121,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 304.158,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40907,
    "c": 0.16804,
    "h": 331.4
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#791472
secondary
#3AAF42
accent
#EE4639
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #791472

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

Preview Lab → · Contrast checker → · Palette generator →

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