#792B72#792B72

#792B72 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.0% C 0.140 H 331.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#792B72
RGBrgb(121, 43, 114)
HSLhsl(305, 48%, 32%)
HSVhsv(305, 64%, 47%)
CMYKcmyk(0%, 64.5%, 5.8%, 52.5%)
CIE-LABlab(31.83, 43.19, -24.49)
CIE-LCHlch(31.83, 49.65, 330.45°)
OKLaboklab(43.05% 0.1232 -0.0671)
OKLCHoklch(43.05% 0.14 331.4)
XYZxyz(11.7863, 7.0085, 16.6483)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B72 #2B7932
analogous
#592B79 #792B72 #792B4B
triadic
#792B72 #72792B #2B7279
tetradic
#792B72 #79592B #2B7932 #2B4B79
square
#792B72 #79592B #2B7932 #2B4B79
split-complementary
#792B72 #4B792B #2B7959
monochromatic
#1F0B1D #4C1B47 #792B72 #A63B9D #C45ABB

Accessibility & contrast

On white

8.74
#792B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#792B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B72
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B72#FFFFFF#000000##FFFFFF
##792B721.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274474
Deuteranopia (green-blind)
#414F70
Tritanopia (blue-blind)
#7E324A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792b72;
/* rgb */ color: rgb(121, 43, 114);
/* oklch */ color: oklch(43.0% 0.140 331.4);
Tailwind
colors: {
  custom: {
    50: '#a26a9b',
    500: '#792b72',
    950: '#000000',
  },
}
SCSS
$custom: #792b72;
$custom-light: #a26a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#792b72",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 305.385,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43049,
    "c": 0.14029,
    "h": 331.4
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#792B72
secondary
#56AA5D
accent
#D75D51
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792B72

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

Preview Lab → · Contrast checker → · Palette generator →

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