#792B70#792B70

#792B70 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 42.9% C 0.139 H 332.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#792B70
RGBrgb(121, 43, 112)
HSLhsl(307, 48%, 32%)
HSVhsv(307, 64%, 47%)
CMYKcmyk(0%, 64.5%, 7.4%, 52.5%)
CIE-LABlab(31.72, 42.83, -23.38)
CIE-LCHlch(31.72, 48.80, 331.37°)
OKLaboklab(42.94% 0.1229 -0.064)
OKLCHoklch(42.94% 0.139 332.5)
XYZxyz(11.6737, 6.9634, 16.0553)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B70 #2B7934
analogous
#5B2B79 #792B70 #792B49
triadic
#792B70 #70792B #2B7079
tetradic
#792B70 #795B2B #2B7934 #2B4979
square
#792B70 #795B2B #2B7934 #2B4979
split-complementary
#792B70 #49792B #2B795B
monochromatic
#1F0B1C #4C1B46 #792B70 #A63B9A #C45AB8

Accessibility & contrast

On white

8.78
#792B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#792B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B70
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B70#FFFFFF#000000##FFFFFF
##792B701.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284472
Deuteranopia (green-blind)
#424F6E
Tritanopia (blue-blind)
#7E3249
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792b70;
/* rgb */ color: rgb(121, 43, 112);
/* oklch */ color: oklch(42.9% 0.139 332.5);
Tailwind
colors: {
  custom: {
    50: '#a26a99',
    500: '#792b70',
    950: '#000000',
  },
}
SCSS
$custom: #792b70;
$custom-light: #a26a99;
$custom-dark: #000000;
JSON
{
  "hex": "#792b70",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 306.923,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42941,
    "c": 0.13857,
    "h": 332.5
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

primary
#792B70
secondary
#56AA5F
accent
#D76051
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792B70

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

Preview Lab → · Contrast checker → · Palette generator →

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