#791578#791578

#791578 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.172 H 328.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#791578
RGBrgb(121, 21, 120)
HSLhsl(301, 70%, 28%)
HSVhsv(301, 83%, 47%)
CMYKcmyk(0%, 82.6%, 0.8%, 52.5%)
CIE-LABlab(29.31, 52.32, -32.27)
CIE-LCHlch(29.31, 61.47, 328.33°)
OKLaboklab(41.35% 0.1466 -0.0895)
OKLCHoklch(41.35% 0.172 328.6)
XYZxyz(11.5434, 5.9582, 18.3077)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791578 #157916
analogous
#481579 #791578 #791546
triadic
#791578 #787915 #157879
tetradic
#791578 #794815 #157916 #154679
square
#791578 #794815 #157916 #154679
split-complementary
#791578 #467915 #157948
monochromatic
#1A051A #450C44 #791578 #AD1EAC #DB2ED9

Accessibility & contrast

On white

9.58
#791578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#791578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791578
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791578#FFFFFF#000000##FFFFFF
##7915781.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#344976
Tritanopia (blue-blind)
#7D2647
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791578;
/* rgb */ color: rgb(121, 21, 120);
/* oklch */ color: oklch(41.3% 0.172 328.6);
Tailwind
colors: {
  custom: {
    50: '#a3619f',
    500: '#791578',
    950: '#000000',
  },
}
SCSS
$custom: #791578;
$custom-light: #a3619f;
$custom-dark: #000000;
JSON
{
  "hex": "#791578",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 300.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41346,
    "c": 0.17176,
    "h": 328.6
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#791578
secondary
#3BAF3C
accent
#ED3C3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791578

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

Preview Lab → · Contrast checker → · Palette generator →

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