#791574#791574

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

Color values

HEX#791574
RGBrgb(121, 21, 116)
HSLhsl(303, 70%, 28%)
HSVhsv(303, 83%, 47%)
CMYKcmyk(0%, 82.6%, 4.1%, 52.5%)
CIE-LABlab(29.06, 51.65, -30.11)
CIE-LCHlch(29.06, 59.79, 329.76°)
OKLaboklab(41.1% 0.1467 -0.0832)
OKLCHoklch(41.1% 0.169 330.4)
XYZxyz(11.3057, 5.8632, 17.0559)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791574 #15791A
analogous
#4C1579 #791574 #791542
triadic
#791574 #747915 #157479
tetradic
#791574 #794C15 #15791A #154279
square
#791574 #794C15 #15791A #154279
split-complementary
#791574 #427915 #15794C
monochromatic
#1A0519 #450C42 #791574 #AD1EA6 #DB2ED2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791574#FFFFFF#000000##FFFFFF
##7915741.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)
#043C76
Deuteranopia (green-blind)
#364972
Tritanopia (blue-blind)
#7E2445
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791574;
/* rgb */ color: rgb(121, 21, 116);
/* oklch */ color: oklch(41.1% 0.169 330.4);
Tailwind
colors: {
  custom: {
    50: '#a3619c',
    500: '#791574',
    950: '#000000',
  },
}
SCSS
$custom: #791574;
$custom-light: #a3619c;
$custom-dark: #000000;
JSON
{
  "hex": "#791574",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 303,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41096,
    "c": 0.16867,
    "h": 330.4
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#791574
secondary
#3BAF41
accent
#ED443B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #791574

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

Preview Lab → · Contrast checker → · Palette generator →

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