#792396#792396

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

Color values

HEX#792396
RGBrgb(121, 35, 150)
HSLhsl(285, 62%, 36%)
HSVhsv(285, 77%, 59%)
CMYKcmyk(19.3%, 76.7%, 0%, 41.2%)
CIE-LABlab(32.85, 53.42, -45.26)
CIE-LCHlch(32.85, 70.02, 319.73°)
OKLaboklab(44.49% 0.1316 -0.1276)
OKLCHoklch(44.49% 0.183 315.9)
XYZxyz(13.9903, 7.4696, 29.5531)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792396 #409623
analogous
#402396 #792396 #96237A
triadic
#792396 #967923 #239679
tetradic
#792396 #964023 #409623 #237A96
square
#792396 #964023 #409623 #237A96
split-complementary
#792396 #7A9623 #239640
monochromatic
#290C33 #511764 #792396 #A12FC8 #B95BD9

Accessibility & contrast

On white

8.42
#792396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792396
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792396#FFFFFF#000000##FFFFFF
##7923961.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#215094
Tritanopia (blue-blind)
#773C5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792396;
/* rgb */ color: rgb(121, 35, 150);
/* oklch */ color: oklch(44.5% 0.183 315.9);
Tailwind
colors: {
  custom: {
    50: '#a468b5',
    500: '#792396',
    950: '#000000',
  },
}
SCSS
$custom: #792396;
$custom-light: #a468b5;
$custom-dark: #000000;
JSON
{
  "hex": "#792396",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 284.87,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44493,
    "c": 0.18326,
    "h": 315.9
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#792396
secondary
#71BD58
accent
#E5436C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792396

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

Preview Lab → · Contrast checker → · Palette generator →

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