#792099#792099

#792099 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.189 H 315.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#792099
RGBrgb(121, 32, 153)
HSLhsl(284, 65%, 36%)
HSVhsv(284, 79%, 60%)
CMYKcmyk(20.9%, 79.1%, 0%, 40%)
CIE-LABlab(32.70, 55.10, -47.35)
CIE-LCHlch(32.70, 72.65, 319.33°)
OKLaboklab(44.45% 0.1338 -0.1337)
OKLCHoklch(44.45% 0.189 315)
XYZxyz(14.1505, 7.3984, 30.8135)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792099 #409920
analogous
#3D2099 #792099 #99207D
triadic
#792099 #997920 #209979
tetradic
#792099 #993D20 #409920 #207D99
square
#792099 #993D20 #409920 #207D99
split-complementary
#792099 #7D9920 #20993D
monochromatic
#290B34 #511566 #792099 #A12BCC #B957DC

Accessibility & contrast

On white

8.47
#792099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#792099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792099
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792099#FFFFFF#000000##FFFFFF
##7920991.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#1A4F96
Tritanopia (blue-blind)
#763C5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792099;
/* rgb */ color: rgb(121, 32, 153);
/* oklch */ color: oklch(44.5% 0.189 315.0);
Tailwind
colors: {
  custom: {
    50: '#a467b8',
    500: '#792099',
    950: '#000000',
  },
}
SCSS
$custom: #792099;
$custom-light: #a467b8;
$custom-dark: #000000;
JSON
{
  "hex": "#792099",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 284.132,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44451,
    "c": 0.18912,
    "h": 315
  },
  "luminance": 0.07398
}

Semantic roles & 50–950 ramp

primary
#792099
secondary
#71C055
accent
#E83F6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #792099

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

Preview Lab → · Contrast checker → · Palette generator →

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