#792990#792990

#792990 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.171 H 317.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#792990
RGBrgb(121, 41, 144)
HSLhsl(287, 56%, 36%)
HSVhsv(287, 72%, 56%)
CMYKcmyk(16%, 71.5%, 0%, 43.5%)
CIE-LABlab(33.28, 49.84, -40.91)
CIE-LCHlch(33.28, 64.48, 320.62°)
OKLaboklab(44.66% 0.1262 -0.1148)
OKLCHoklch(44.66% 0.171 317.7)
XYZxyz(13.7114, 7.6650, 27.1374)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792990 #409029
analogous
#462990 #792990 #902974
triadic
#792990 #907929 #299079
tetradic
#792990 #904629 #409029 #297490
square
#792990 #904629 #409029 #297490
split-complementary
#792990 #749029 #299046
monochromatic
#290E31 #511B60 #792990 #A137C0 #B961D2

Accessibility & contrast

On white

8.29
#792990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#792990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792990
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792990#FFFFFF#000000##FFFFFF
##7929901.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#2D518E
Tritanopia (blue-blind)
#783D59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792990;
/* rgb */ color: rgb(121, 41, 144);
/* oklch */ color: oklch(44.7% 0.171 317.7);
Tailwind
colors: {
  custom: {
    50: '#a36ab1',
    500: '#792990',
    950: '#000000',
  },
}
SCSS
$custom: #792990;
$custom-light: #a36ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#792990",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 286.602,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44664,
    "c": 0.1706,
    "h": 317.7
  },
  "luminance": 0.07664
}

Semantic roles & 50–950 ramp

primary
#792990
secondary
#71B85D
accent
#DF496A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792990

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

Preview Lab → · Contrast checker → · Palette generator →

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