#792B6F#792B6F

#792B6F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.138 H 333.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#792B6F
RGBrgb(121, 43, 111)
HSLhsl(308, 48%, 32%)
HSVhsv(308, 64%, 47%)
CMYKcmyk(0%, 64.5%, 8.3%, 52.5%)
CIE-LABlab(31.67, 42.66, -22.82)
CIE-LCHlch(31.67, 48.38, 331.85°)
OKLaboklab(42.89% 0.1228 -0.0624)
OKLCHoklch(42.89% 0.138 333.1)
XYZxyz(11.6183, 6.9413, 15.7637)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B6F #2B7935
analogous
#5C2B79 #792B6F #792B48
triadic
#792B6F #6F792B #2B6F79
tetradic
#792B6F #795C2B #2B7935 #2B4879
square
#792B6F #795C2B #2B7935 #2B4879
split-complementary
#792B6F #48792B #2B795C
monochromatic
#1F0B1C #4C1B46 #792B6F #A63B98 #C45AB7

Accessibility & contrast

On white

8.79
#792B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792B6F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B6F#FFFFFF#000000##FFFFFF
##792B6F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294371
Deuteranopia (green-blind)
#424F6D
Tritanopia (blue-blind)
#7E3149
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792b6f;
/* rgb */ color: rgb(121, 43, 111);
/* oklch */ color: oklch(42.9% 0.138 333.1);
Tailwind
colors: {
  custom: {
    50: '#a26a98',
    500: '#792b6f',
    950: '#000000',
  },
}
SCSS
$custom: #792b6f;
$custom-light: #a26a98;
$custom-dark: #000000;
JSON
{
  "hex": "#792b6f",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 111
  },
  "hsl": {
    "h": 307.692,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.13773,
    "h": 333.1
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#792B6F
secondary
#56AA60
accent
#D76251
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #792B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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