#792599#792599

#792599 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.184 H 314.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#792599
RGBrgb(121, 37, 153)
HSLhsl(283, 61%, 37%)
HSVhsv(283, 76%, 60%)
CMYKcmyk(20.9%, 75.8%, 0%, 40%)
CIE-LABlab(33.33, 53.29, -46.33)
CIE-LCHlch(33.33, 70.62, 319.00°)
OKLaboklab(44.89% 0.1293 -0.1307)
OKLCHoklch(44.89% 0.184 314.7)
XYZxyz(14.2955, 7.6885, 30.8618)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792599 #459925
analogous
#3F2599 #792599 #99257F
triadic
#792599 #997925 #259979
tetradic
#792599 #993F25 #459925 #257F99
square
#792599 #993F25 #459925 #257F99
split-complementary
#792599 #7F9925 #25993F
monochromatic
#2B0D36 #521968 #792599 #A031CA #B760D9

Accessibility & contrast

On white

8.28
#792599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#792599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792599
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792599#FFFFFF#000000##FFFFFF
##7925991.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#1F5096
Tritanopia (blue-blind)
#763F5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792599;
/* rgb */ color: rgb(121, 37, 153);
/* oklch */ color: oklch(44.9% 0.184 314.7);
Tailwind
colors: {
  custom: {
    50: '#a469b8',
    500: '#792599',
    950: '#000000',
  },
}
SCSS
$custom: #792599;
$custom-light: #a469b8;
$custom-dark: #000000;
JSON
{
  "hex": "#792599",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 283.448,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44894,
    "c": 0.18383,
    "h": 314.7
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#792599
secondary
#77BE5C
accent
#E44470
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792599

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

Preview Lab → · Contrast checker → · Palette generator →

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