#792596#792596

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

Color values

HEX#792596
RGBrgb(121, 37, 150)
HSLhsl(285, 60%, 37%)
HSVhsv(285, 75%, 59%)
CMYKcmyk(19.3%, 75.3%, 0%, 41.2%)
CIE-LABlab(33.12, 52.67, -44.84)
CIE-LCHlch(33.12, 69.18, 319.59°)
OKLaboklab(44.68% 0.1297 -0.1263)
OKLCHoklch(44.68% 0.181 315.7)
XYZxyz(14.0509, 7.5906, 29.5732)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792596 #429625
analogous
#412596 #792596 #96257B
triadic
#792596 #967925 #259679
tetradic
#792596 #964125 #429625 #257B96
square
#792596 #964125 #429625 #257B96
split-complementary
#792596 #7B9625 #259641
monochromatic
#2A0D34 #511965 #792596 #A131C7 #B85ED7

Accessibility & contrast

On white

8.34
#792596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#792596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792596
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792596#FFFFFF#000000##FFFFFF
##7925961.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#235094
Tritanopia (blue-blind)
#773D5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792596;
/* rgb */ color: rgb(121, 37, 150);
/* oklch */ color: oklch(44.7% 0.181 315.7);
Tailwind
colors: {
  custom: {
    50: '#a469b5',
    500: '#792596',
    950: '#000000',
  },
}
SCSS
$custom: #792596;
$custom-light: #a469b5;
$custom-dark: #000000;
JSON
{
  "hex": "#792596",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 284.602,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.18104,
    "h": 315.7
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#792596
secondary
#74BC5B
accent
#E4446D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792596

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

Preview Lab → · Contrast checker → · Palette generator →

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