#791572#791572

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

Color values

HEX#791572
RGBrgb(121, 21, 114)
HSLhsl(304, 70%, 28%)
HSVhsv(304, 83%, 47%)
CMYKcmyk(0%, 82.6%, 5.8%, 52.5%)
CIE-LABlab(28.95, 51.33, -29.03)
CIE-LCHlch(28.95, 58.97, 330.51°)
OKLaboklab(40.97% 0.1467 -0.0801)
OKLCHoklch(40.97% 0.167 331.4)
XYZxyz(11.1906, 5.8171, 16.4498)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791572 #15791C
analogous
#4E1579 #791572 #791540
triadic
#791572 #727915 #157279
tetradic
#791572 #794E15 #15791C #154079
square
#791572 #794E15 #15791C #154079
split-complementary
#791572 #407915 #15794E
monochromatic
#1A0519 #450C41 #791572 #AD1EA3 #DB2ECF

Accessibility & contrast

On white

9.71
#791572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791572
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791572#FFFFFF#000000##FFFFFF
##7915721.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083C74
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#7E2344
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791572;
/* rgb */ color: rgb(121, 21, 114);
/* oklch */ color: oklch(41.0% 0.167 331.4);
Tailwind
colors: {
  custom: {
    50: '#a3619b',
    500: '#791572',
    950: '#000000',
  },
}
SCSS
$custom: #791572;
$custom-light: #a3619b;
$custom-dark: #000000;
JSON
{
  "hex": "#791572",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 304.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40973,
    "c": 0.16715,
    "h": 331.4
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#791572
secondary
#3BAF43
accent
#ED473B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #791572

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

Preview Lab → · Contrast checker → · Palette generator →

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