#791672#791672

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

Color values

HEX#791672
RGBrgb(121, 22, 114)
HSLhsl(304, 69%, 28%)
HSVhsv(304, 82%, 47%)
CMYKcmyk(0%, 81.8%, 5.8%, 52.5%)
CIE-LABlab(29.04, 51.05, -28.87)
CIE-LCHlch(29.04, 58.65, 330.51°)
OKLaboklab(41.04% 0.1459 -0.0796)
OKLCHoklch(41.04% 0.166 331.4)
XYZxyz(11.2093, 5.8546, 16.4560)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791672 #16791D
analogous
#4E1679 #791672 #791641
triadic
#791672 #727916 #167279
tetradic
#791672 #794E16 #16791D #164179
square
#791672 #794E16 #16791D #164179
split-complementary
#791672 #417916 #16794E
monochromatic
#1A0518 #450D41 #791672 #AD1FA3 #D930CD

Accessibility & contrast

On white

9.67
#791672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#791672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791672
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791672#FFFFFF#000000##FFFFFF
##7916721.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C74
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#7E2444
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791672;
/* rgb */ color: rgb(121, 22, 114);
/* oklch */ color: oklch(41.0% 0.166 331.4);
Tailwind
colors: {
  custom: {
    50: '#a3619b',
    500: '#791672',
    950: '#000000',
  },
}
SCSS
$custom: #791672;
$custom-light: #a3619b;
$custom-dark: #000000;
JSON
{
  "hex": "#791672",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 304.242,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41042,
    "c": 0.16623,
    "h": 331.4
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#791672
secondary
#3DAE45
accent
#EC483C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791672

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

Preview Lab → · Contrast checker → · Palette generator →

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