#791579#791579

#791579 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.173 H 328.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#791579
RGBrgb(121, 21, 121)
HSLhsl(300, 70%, 28%)
HSVhsv(300, 83%, 47%)
CMYKcmyk(0%, 82.6%, 0%, 52.5%)
CIE-LABlab(29.37, 52.49, -32.81)
CIE-LCHlch(29.37, 61.90, 327.99°)
OKLaboklab(41.41% 0.1466 -0.0911)
OKLCHoklch(41.41% 0.173 328.1)
XYZxyz(11.6044, 5.9826, 18.6290)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791579 #157915
analogous
#471579 #791579 #791547
triadic
#791579 #797915 #157979
tetradic
#791579 #794715 #157915 #154779
square
#791579 #794715 #157915 #154779
split-complementary
#791579 #477915 #157947
monochromatic
#1A051A #450C45 #791579 #AD1EAD #DB2EDB

Accessibility & contrast

On white

9.56
#791579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791579
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791579#FFFFFF#000000##FFFFFF
##7915791.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#334A77
Tritanopia (blue-blind)
#7D2748
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791579;
/* rgb */ color: rgb(121, 21, 121);
/* oklch */ color: oklch(41.4% 0.173 328.1);
Tailwind
colors: {
  custom: {
    50: '#a361a0',
    500: '#791579',
    950: '#000000',
  },
}
SCSS
$custom: #791579;
$custom-light: #a361a0;
$custom-dark: #000000;
JSON
{
  "hex": "#791579",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4141,
    "c": 0.17254,
    "h": 328.1
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#791579
secondary
#3BAF3B
accent
#ED3B3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #791579

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

Preview Lab → · Contrast checker → · Palette generator →

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