#792399#792399

#792399 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.186 H 314.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#792399
RGBrgb(121, 35, 153)
HSLhsl(284, 63%, 37%)
HSVhsv(284, 77%, 60%)
CMYKcmyk(20.9%, 77.1%, 0%, 40%)
CIE-LABlab(33.07, 54.04, -46.75)
CIE-LCHlch(33.07, 71.46, 319.14°)
OKLaboklab(44.71% 0.1311 -0.1319)
OKLCHoklch(44.71% 0.186 314.8)
XYZxyz(14.2350, 7.5674, 30.8416)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792399 #439923
analogous
#3E2399 #792399 #99237E
triadic
#792399 #997923 #239979
tetradic
#792399 #993E23 #439923 #237E99
square
#792399 #993E23 #439923 #237E99
split-complementary
#792399 #7E9923 #23993E
monochromatic
#2A0C35 #521867 #792399 #A02ECB #B85DDA

Accessibility & contrast

On white

8.36
#792399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#792399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792399
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792399#FFFFFF#000000##FFFFFF
##7923991.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#1D5096
Tritanopia (blue-blind)
#763E5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792399;
/* rgb */ color: rgb(121, 35, 153);
/* oklch */ color: oklch(44.7% 0.186 314.8);
Tailwind
colors: {
  custom: {
    50: '#a468b8',
    500: '#792399',
    950: '#000000',
  },
}
SCSS
$custom: #792399;
$custom-light: #a468b8;
$custom-dark: #000000;
JSON
{
  "hex": "#792399",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 283.729,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.18601,
    "h": 314.8
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#792399
secondary
#75BE59
accent
#E6426E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792399

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

Preview Lab → · Contrast checker → · Palette generator →

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