#791A70#791A70

#791A70 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.161 H 332.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#791A70
RGBrgb(121, 26, 112)
HSLhsl(306, 65%, 29%)
HSVhsv(306, 79%, 47%)
CMYKcmyk(0%, 78.5%, 7.4%, 52.5%)
CIE-LABlab(29.35, 49.51, -27.11)
CIE-LCHlch(29.35, 56.45, 331.30°)
OKLaboklab(41.22% 0.1424 -0.0746)
OKLCHoklch(41.22% 0.161 332.4)
XYZxyz(11.1792, 5.9745, 15.8905)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A70 #1A7923
analogous
#531A79 #791A70 #791A41
triadic
#791A70 #70791A #1A7079
tetradic
#791A70 #79531A #1A7923 #1A4179
square
#791A70 #79531A #1A7923 #1A4179
split-complementary
#791A70 #41791A #1A7953
monochromatic
#190517 #470F41 #791A70 #AB259F #D439C6

Accessibility & contrast

On white

9.57
#791A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#791A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A70
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A70#FFFFFF#000000##FFFFFF
##791A701.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D72
Deuteranopia (green-blind)
#3A4A6E
Tritanopia (blue-blind)
#7E2544
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791a70;
/* rgb */ color: rgb(121, 26, 112);
/* oklch */ color: oklch(41.2% 0.161 332.4);
Tailwind
colors: {
  custom: {
    50: '#a36299',
    500: '#791a70',
    950: '#000000',
  },
}
SCSS
$custom: #791a70;
$custom-light: #a36299;
$custom-dark: #000000;
JSON
{
  "hex": "#791a70",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 305.684,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41223,
    "c": 0.1607,
    "h": 332.4
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

primary
#791A70
secondary
#41AD4C
accent
#E85040
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #791A70

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

Preview Lab → · Contrast checker → · Palette generator →

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