#792386#792386

#792386 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.169 H 322.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#792386
RGBrgb(121, 35, 134)
HSLhsl(292, 59%, 33%)
HSVhsv(292, 74%, 53%)
CMYKcmyk(9.7%, 73.9%, 0%, 47.5%)
CIE-LABlab(31.78, 50.26, -37.12)
CIE-LCHlch(31.78, 62.48, 323.55°)
OKLaboklab(43.39% 0.1332 -0.1037)
OKLCHoklch(43.39% 0.169 322.1)
XYZxyz(12.7888, 6.9890, 23.2250)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792386 #308623
analogous
#472386 #792386 #862361
triadic
#792386 #867923 #238679
tetradic
#792386 #864723 #308623 #236186
square
#792386 #864723 #308623 #236186
split-complementary
#792386 #618623 #238647
monochromatic
#210A25 #4D1655 #792386 #A530B7 #C152D2

Accessibility & contrast

On white

8.76
#792386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#792386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792386
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792386#FFFFFF#000000##FFFFFF
##7923861.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#314E84
Tritanopia (blue-blind)
#7A3552
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792386;
/* rgb */ color: rgb(121, 35, 134);
/* oklch */ color: oklch(43.4% 0.169 322.1);
Tailwind
colors: {
  custom: {
    50: '#a367aa',
    500: '#792386',
    950: '#000000',
  },
}
SCSS
$custom: #792386;
$custom-light: #a367aa;
$custom-dark: #000000;
JSON
{
  "hex": "#792386",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 292.121,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4339,
    "c": 0.16881,
    "h": 322.1
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#792386
secondary
#5DB54F
accent
#E2465A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #792386

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

Preview Lab → · Contrast checker → · Palette generator →

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