#792E70#792E70

#792E70 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.3% C 0.134 H 332.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#792E70
RGBrgb(121, 46, 112)
HSLhsl(307, 45%, 33%)
HSVhsv(307, 62%, 47%)
CMYKcmyk(0%, 62%, 7.4%, 52.5%)
CIE-LABlab(32.23, 41.43, -22.58)
CIE-LCHlch(32.23, 47.18, 331.41°)
OKLaboklab(43.31% 0.1189 -0.0617)
OKLCHoklch(43.31% 0.134 332.6)
XYZxyz(11.7868, 7.1896, 16.0930)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E70 #2E7937
analogous
#5C2E79 #792E70 #792E4A
triadic
#792E70 #70792E #2E7079
tetradic
#792E70 #795C2E #2E7937 #2E4A79
square
#792E70 #795C2E #2E7937 #2E4A79
split-complementary
#792E70 #4A792E #2E795C
monochromatic
#200C1E #4D1D47 #792E70 #A53F99 #C25FB6

Accessibility & contrast

On white

8.61
#792E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#792E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E70
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E70#FFFFFF#000000##FFFFFF
##792E701.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4572
Deuteranopia (green-blind)
#43506E
Tritanopia (blue-blind)
#7E344A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792e70;
/* rgb */ color: rgb(121, 46, 112);
/* oklch */ color: oklch(43.3% 0.134 332.6);
Tailwind
colors: {
  custom: {
    50: '#a26c99',
    500: '#792e70',
    950: '#000000',
  },
}
SCSS
$custom: #792e70;
$custom-light: #a26c99;
$custom-dark: #000000;
JSON
{
  "hex": "#792e70",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 307.2,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43314,
    "c": 0.13392,
    "h": 332.6
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#792E70
secondary
#5AA963
accent
#D56353
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792E70

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

Preview Lab → · Contrast checker → · Palette generator →

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