#792999#792999

#792999 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.179 H 314.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#792999
RGBrgb(121, 41, 153)
HSLhsl(283, 58%, 38%)
HSVhsv(283, 73%, 60%)
CMYKcmyk(20.9%, 73.2%, 0%, 40%)
CIE-LABlab(33.88, 51.71, -45.44)
CIE-LCHlch(33.88, 68.84, 318.70°)
OKLaboklab(45.29% 0.1253 -0.1281)
OKLCHoklch(45.29% 0.179 314.4)
XYZxyz(14.4269, 7.9512, 30.9056)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792999 #499929
analogous
#412999 #792999 #992981
triadic
#792999 #997929 #299979
tetradic
#792999 #994129 #499929 #298199
square
#792999 #994129 #499929 #298199
split-complementary
#792999 #819929 #299941
monochromatic
#2D0F38 #531C69 #792999 #9F36C9 #B666D6

Accessibility & contrast

On white

8.11
#792999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#792999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792999
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792999#FFFFFF#000000##FFFFFF
##7929991.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#76415E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792999;
/* rgb */ color: rgb(121, 41, 153);
/* oklch */ color: oklch(45.3% 0.179 314.4);
Tailwind
colors: {
  custom: {
    50: '#a36bb8',
    500: '#792999',
    950: '#000000',
  },
}
SCSS
$custom: #792999;
$custom-light: #a36bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#792999",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 282.857,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45289,
    "c": 0.17919,
    "h": 314.4
  },
  "luminance": 0.07951
}

Semantic roles & 50–950 ramp

primary
#792999
secondary
#7BBC62
accent
#E14773
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792999

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

Preview Lab → · Contrast checker → · Palette generator →

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