#792D70#792D70

#792D70 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.136 H 332.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#792D70
RGBrgb(121, 45, 112)
HSLhsl(307, 46%, 33%)
HSVhsv(307, 63%, 47%)
CMYKcmyk(0%, 62.8%, 7.4%, 52.5%)
CIE-LABlab(32.06, 41.90, -22.85)
CIE-LCHlch(32.06, 47.73, 331.40°)
OKLaboklab(43.19% 0.1202 -0.0625)
OKLCHoklch(43.19% 0.136 332.5)
XYZxyz(11.7482, 7.1124, 16.0802)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D70 #2D7936
analogous
#5C2D79 #792D70 #792D4A
triadic
#792D70 #70792D #2D7079
tetradic
#792D70 #795C2D #2D7936 #2D4A79
square
#792D70 #795C2D #2D7936 #2D4A79
split-complementary
#792D70 #4A792D #2D795C
monochromatic
#200C1D #4C1C47 #792D70 #A63E99 #C35DB7

Accessibility & contrast

On white

8.67
#792D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#792D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D70
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D70#FFFFFF#000000##FFFFFF
##792D701.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4472
Deuteranopia (green-blind)
#434F6E
Tritanopia (blue-blind)
#7E334A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792d70;
/* rgb */ color: rgb(121, 45, 112);
/* oklch */ color: oklch(43.2% 0.136 332.5);
Tailwind
colors: {
  custom: {
    50: '#a26b99',
    500: '#792d70',
    950: '#000000',
  },
}
SCSS
$custom: #792d70;
$custom-light: #a26b99;
$custom-dark: #000000;
JSON
{
  "hex": "#792d70",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 307.105,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43188,
    "c": 0.1355,
    "h": 332.5
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#792D70
secondary
#58A962
accent
#D56252
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792D70

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

Preview Lab → · Contrast checker → · Palette generator →

#792D70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva