#792071#792071

#792071 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.155 H 331.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#792071
RGBrgb(121, 32, 113)
HSLhsl(305, 58%, 30%)
HSVhsv(305, 74%, 47%)
CMYKcmyk(0%, 73.6%, 6.6%, 52.5%)
CIE-LABlab(30.14, 47.59, -26.51)
CIE-LCHlch(30.14, 54.48, 330.88°)
OKLaboklab(41.81% 0.1364 -0.0729)
OKLCHoklch(41.81% 0.155 331.9)
XYZxyz(11.3823, 6.2911, 16.2344)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792071 #207928
analogous
#542079 #792071 #792045
triadic
#792071 #717920 #207179
tetradic
#792071 #795420 #207928 #204579
square
#792071 #795420 #207928 #204579
split-complementary
#792071 #457920 #207954
monochromatic
#180617 #491344 #792071 #A92D9E #CE45C2

Accessibility & contrast

On white

9.30
#792071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#792071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792071
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792071#FFFFFF#000000##FFFFFF
##7920711.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F73
Deuteranopia (green-blind)
#3C4B6F
Tritanopia (blue-blind)
#7E2A46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #792071;
/* rgb */ color: rgb(121, 32, 113);
/* oklch */ color: oklch(41.8% 0.155 331.9);
Tailwind
colors: {
  custom: {
    50: '#a3659a',
    500: '#792071',
    950: '#000000',
  },
}
SCSS
$custom: #792071;
$custom-light: #a3659a;
$custom-dark: #000000;
JSON
{
  "hex": "#792071",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 305.393,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.41807,
    "c": 0.1546,
    "h": 331.9
  },
  "luminance": 0.0629
}

Semantic roles & 50–950 ramp

primary
#792071
secondary
#49AC52
accent
#E15446
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792071

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

Preview Lab → · Contrast checker → · Palette generator →

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