#791890#791890

#791890 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.2% C 0.189 H 318.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#791890
RGBrgb(121, 24, 144)
HSLhsl(289, 71%, 33%)
HSVhsv(289, 83%, 56%)
CMYKcmyk(16%, 83.3%, 0%, 43.5%)
CIE-LABlab(31.19, 55.82, -44.26)
CIE-LCHlch(31.19, 71.24, 321.59°)
OKLaboklab(43.19% 0.1417 -0.1246)
OKLCHoklch(43.19% 0.189 318.7)
XYZxyz(13.2451, 6.7325, 26.9820)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791890 #2F9018
analogous
#3D1890 #791890 #90186B
triadic
#791890 #907918 #189079
tetradic
#791890 #903D18 #2F9018 #186B90
square
#791890 #903D18 #2F9018 #186B90
split-complementary
#791890 #6B9018 #18903D
monochromatic
#210727 #4D0F5C #791890 #A521C4 #C243E0

Accessibility & contrast

On white

8.95
#791890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791890
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791890#FFFFFF#000000##FFFFFF
##7918901.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#204C8D
Tritanopia (blue-blind)
#783456
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #791890;
/* rgb */ color: rgb(121, 24, 144);
/* oklch */ color: oklch(43.2% 0.189 318.7);
Tailwind
colors: {
  custom: {
    50: '#a463b1',
    500: '#791890',
    950: '#000000',
  },
}
SCSS
$custom: #791890;
$custom-light: #a463b1;
$custom-dark: #000000;
JSON
{
  "hex": "#791890",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 288.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.18867,
    "h": 318.7
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#791890
secondary
#5BC043
accent
#EE3A5C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791890

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

Preview Lab → · Contrast checker → · Palette generator →

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