#791E75#791E75

#791E75 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.160 H 329.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#791E75
RGBrgb(121, 30, 117)
HSLhsl(303, 60%, 30%)
HSVhsv(303, 75%, 47%)
CMYKcmyk(0%, 75.2%, 3.3%, 52.5%)
CIE-LABlab(30.11, 49.00, -29.10)
CIE-LCHlch(30.11, 56.99, 329.29°)
OKLaboklab(41.86% 0.1386 -0.0803)
OKLCHoklch(41.86% 0.16 329.9)
XYZxyz(11.5603, 6.2787, 17.4292)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E75 #1E7922
analogous
#4F1E79 #791E75 #791E48
triadic
#791E75 #75791E #1E7579
tetradic
#791E75 #794F1E #1E7922 #1E4879
square
#791E75 #794F1E #1E7922 #1E4879
split-complementary
#791E75 #48791E #1E794F
monochromatic
#190618 #481246 #791E75 #AA2AA4 #D041CA

Accessibility & contrast

On white

9.31
#791E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#791E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E75
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E75#FFFFFF#000000##FFFFFF
##791E751.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133F77
Deuteranopia (green-blind)
#394B73
Tritanopia (blue-blind)
#7E2A48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791e75;
/* rgb */ color: rgb(121, 30, 117);
/* oklch */ color: oklch(41.9% 0.160 329.9);
Tailwind
colors: {
  custom: {
    50: '#a3649d',
    500: '#791e75',
    950: '#000000',
  },
}
SCSS
$custom: #791e75;
$custom-light: #a3649d;
$custom-dark: #000000;
JSON
{
  "hex": "#791e75",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 302.637,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41858,
    "c": 0.16022,
    "h": 329.9
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#791E75
secondary
#46AD4B
accent
#E34B44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791E75

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

Preview Lab → · Contrast checker → · Palette generator →

#791E75 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva