#791990#791990

#791990 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.188 H 318.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#791990
RGBrgb(121, 25, 144)
HSLhsl(288, 70%, 33%)
HSVhsv(288, 83%, 56%)
CMYKcmyk(16%, 82.6%, 0%, 43.5%)
CIE-LABlab(31.29, 55.53, -44.10)
CIE-LCHlch(31.29, 70.92, 321.54°)
OKLaboklab(43.26% 0.141 -0.1241)
OKLCHoklch(43.26% 0.188 318.6)
XYZxyz(13.2661, 6.7745, 26.9890)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791990 #309019
analogous
#3D1990 #791990 #90196B
triadic
#791990 #907919 #199079
tetradic
#791990 #903D19 #309019 #196B90
square
#791990 #903D19 #309019 #196B90
split-complementary
#791990 #6B9019 #19903D
monochromatic
#210728 #4D105C #791990 #A522C4 #C145DF

Accessibility & contrast

On white

8.92
#791990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#791990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791990
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791990#FFFFFF#000000##FFFFFF
##7919901.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#214D8D
Tritanopia (blue-blind)
#783556
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #791990;
/* rgb */ color: rgb(121, 25, 144);
/* oklch */ color: oklch(43.3% 0.188 318.6);
Tailwind
colors: {
  custom: {
    50: '#a463b1',
    500: '#791990',
    950: '#000000',
  },
}
SCSS
$custom: #791990;
$custom-light: #a463b1;
$custom-dark: #000000;
JSON
{
  "hex": "#791990",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 288.403,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43255,
    "c": 0.18781,
    "h": 318.6
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#791990
secondary
#5DC045
accent
#ED3B5D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791990

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

Preview Lab → · Contrast checker → · Palette generator →

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