#792B6E#792B6E

#792B6E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.137 H 333.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#792B6E
RGBrgb(121, 43, 110)
HSLhsl(308, 48%, 32%)
HSVhsv(308, 64%, 47%)
CMYKcmyk(0%, 64.5%, 9.1%, 52.5%)
CIE-LABlab(31.62, 42.48, -22.27)
CIE-LCHlch(31.62, 47.97, 332.34°)
OKLaboklab(42.83% 0.1227 -0.0608)
OKLCHoklch(42.83% 0.137 333.6)
XYZxyz(11.5636, 6.9194, 15.4754)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B6E #2B7936
analogous
#5D2B79 #792B6E #792B47
triadic
#792B6E #6E792B #2B6E79
tetradic
#792B6E #795D2B #2B7936 #2B4779
square
#792B6E #795D2B #2B7936 #2B4779
split-complementary
#792B6E #47792B #2B795D
monochromatic
#1F0B1C #4C1B45 #792B6E #A63B97 #C45AB5

Accessibility & contrast

On white

8.81
#792B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#792B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B6E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B6E#FFFFFF#000000##FFFFFF
##792B6E1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294370
Deuteranopia (green-blind)
#434F6C
Tritanopia (blue-blind)
#7E3148
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792b6e;
/* rgb */ color: rgb(121, 43, 110);
/* oklch */ color: oklch(42.8% 0.137 333.6);
Tailwind
colors: {
  custom: {
    50: '#a26a98',
    500: '#792b6e',
    950: '#000000',
  },
}
SCSS
$custom: #792b6e;
$custom-light: #a26a98;
$custom-dark: #000000;
JSON
{
  "hex": "#792b6e",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 308.462,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42834,
    "c": 0.13689,
    "h": 333.6
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#792B6E
secondary
#56AA62
accent
#D76451
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #792B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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