#791790#791790

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

Color values

HEX#791790
RGBrgb(121, 23, 144)
HSLhsl(289, 72%, 33%)
HSVhsv(289, 84%, 56%)
CMYKcmyk(16%, 84%, 0%, 43.5%)
CIE-LABlab(31.10, 56.10, -44.41)
CIE-LCHlch(31.10, 71.55, 321.63°)
OKLaboklab(43.12% 0.1424 -0.125)
OKLCHoklch(43.12% 0.19 318.7)
XYZxyz(13.2249, 6.6920, 26.9752)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791790 #2E9017
analogous
#3C1790 #791790 #90176A
triadic
#791790 #907917 #179079
tetradic
#791790 #903C17 #2E9017 #176A90
square
#791790 #903C17 #2E9017 #176A90
split-complementary
#791790 #6A9017 #17903C
monochromatic
#200626 #4D0F5B #791790 #A51FC5 #C241E1

Accessibility & contrast

On white

8.98
#791790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#791790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791790
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791790#FFFFFF#000000##FFFFFF
##7917901.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#1F4C8D
Tritanopia (blue-blind)
#793455
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #791790;
/* rgb */ color: rgb(121, 23, 144);
/* oklch */ color: oklch(43.1% 0.190 318.7);
Tailwind
colors: {
  custom: {
    50: '#a463b1',
    500: '#791790',
    950: '#000000',
  },
}
SCSS
$custom: #791790;
$custom-light: #a463b1;
$custom-dark: #000000;
JSON
{
  "hex": "#791790",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 288.595,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43119,
    "c": 0.1895,
    "h": 318.7
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#791790
secondary
#5AC142
accent
#EF395B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791790

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

Preview Lab → · Contrast checker → · Palette generator →

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