#792192#792192

#792192 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.182 H 317.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#792192
RGBrgb(121, 33, 146)
HSLhsl(287, 63%, 35%)
HSVhsv(287, 77%, 57%)
CMYKcmyk(17.1%, 77.4%, 0%, 42.7%)
CIE-LABlab(32.32, 53.34, -43.67)
CIE-LCHlch(32.32, 68.94, 320.70°)
OKLaboklab(44.03% 0.134 -0.1229)
OKLCHoklch(44.03% 0.182 317.5)
XYZxyz(13.6166, 7.2286, 27.8666)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792192 #3A9221
analogous
#412192 #792192 #922172
triadic
#792192 #927921 #219279
tetradic
#792192 #924121 #3A9221 #217292
square
#792192 #924121 #3A9221 #217292
split-complementary
#792192 #729221 #219241
monochromatic
#260A2E #501660 #792192 #A22CC4 #BB55D9

Accessibility & contrast

On white

8.59
#792192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#792192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792192
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792192#FFFFFF#000000##FFFFFF
##7921921.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#244F90
Tritanopia (blue-blind)
#783959
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792192;
/* rgb */ color: rgb(121, 33, 146);
/* oklch */ color: oklch(44.0% 0.182 317.5);
Tailwind
colors: {
  custom: {
    50: '#a467b3',
    500: '#792192',
    950: '#000000',
  },
}
SCSS
$custom: #792192;
$custom-light: #a467b3;
$custom-dark: #000000;
JSON
{
  "hex": "#792192",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 286.726,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44028,
    "c": 0.1818,
    "h": 317.5
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#792192
secondary
#6ABC53
accent
#E64266
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #792192

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

Preview Lab → · Contrast checker → · Palette generator →

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