#791575#791575

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

Color values

HEX#791575
RGBrgb(121, 21, 117)
HSLhsl(302, 70%, 28%)
HSVhsv(302, 83%, 47%)
CMYKcmyk(0%, 82.6%, 3.3%, 52.5%)
CIE-LABlab(29.12, 51.82, -30.66)
CIE-LCHlch(29.12, 60.21, 329.39°)
OKLaboklab(41.16% 0.1467 -0.0848)
OKLCHoklch(41.16% 0.169 330)
XYZxyz(11.3642, 5.8865, 17.3639)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791575 #157919
analogous
#4B1579 #791575 #791543
triadic
#791575 #757915 #157579
tetradic
#791575 #794B15 #157919 #154379
square
#791575 #794B15 #157919 #154379
split-complementary
#791575 #437915 #15794B
monochromatic
#1A0519 #450C43 #791575 #AD1EA7 #DB2ED4

Accessibility & contrast

On white

9.65
#791575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#791575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791575
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791575#FFFFFF#000000##FFFFFF
##7915751.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023C77
Deuteranopia (green-blind)
#354973
Tritanopia (blue-blind)
#7E2545
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791575;
/* rgb */ color: rgb(121, 21, 117);
/* oklch */ color: oklch(41.2% 0.169 330.0);
Tailwind
colors: {
  custom: {
    50: '#a3619d',
    500: '#791575',
    950: '#000000',
  },
}
SCSS
$custom: #791575;
$custom-light: #a3619d;
$custom-dark: #000000;
JSON
{
  "hex": "#791575",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 302.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41158,
    "c": 0.16944,
    "h": 330
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#791575
secondary
#3BAF40
accent
#ED423B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #791575

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

Preview Lab → · Contrast checker → · Palette generator →

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