#792199#792199

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

Color values

HEX#792199
RGBrgb(121, 33, 153)
HSLhsl(284, 65%, 36%)
HSVhsv(284, 78%, 60%)
CMYKcmyk(20.9%, 78.4%, 0%, 40%)
CIE-LABlab(32.82, 54.75, -47.15)
CIE-LCHlch(32.82, 72.26, 319.27°)
OKLaboklab(44.54% 0.1329 -0.1331)
OKLCHoklch(44.54% 0.188 315)
XYZxyz(14.1778, 7.4531, 30.8226)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792199 #419921
analogous
#3D2199 #792199 #99217D
triadic
#792199 #997921 #219979
tetradic
#792199 #993D21 #419921 #217D99
square
#792199 #993D21 #419921 #217D99
split-complementary
#792199 #7D9921 #21993D
monochromatic
#290B34 #511667 #792199 #A12CCB #B959DB

Accessibility & contrast

On white

8.43
#792199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#792199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792199
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792199#FFFFFF#000000##FFFFFF
##7921991.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792199;
/* rgb */ color: rgb(121, 33, 153);
/* oklch */ color: oklch(44.5% 0.188 315.0);
Tailwind
colors: {
  custom: {
    50: '#a467b8',
    500: '#792199',
    950: '#000000',
  },
}
SCSS
$custom: #792199;
$custom-light: #a467b8;
$custom-dark: #000000;
JSON
{
  "hex": "#792199",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 284,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44535,
    "c": 0.1881,
    "h": 315
  },
  "luminance": 0.07453
}

Semantic roles & 50–950 ramp

primary
#792199
secondary
#72BF56
accent
#E8406D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792199

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

Preview Lab → · Contrast checker → · Palette generator →

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