#792791#792791

#792791 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.174 H 317.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#792791
RGBrgb(121, 39, 145)
HSLhsl(286, 58%, 36%)
HSVhsv(286, 73%, 57%)
CMYKcmyk(16.6%, 73.1%, 0%, 43.1%)
CIE-LABlab(33.05, 50.86, -41.88)
CIE-LCHlch(33.05, 65.89, 320.53°)
OKLaboklab(44.53% 0.1282 -0.1177)
OKLCHoklch(44.53% 0.174 317.5)
XYZxyz(13.7208, 7.5609, 27.5192)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792791 #3F9127
analogous
#442791 #792791 #912774
triadic
#792791 #917927 #279179
tetradic
#792791 #914427 #3F9127 #277491
square
#792791 #914427 #3F9127 #277491
split-complementary
#792791 #749127 #279144
monochromatic
#290D31 #511A61 #792791 #A134C1 #B95FD4

Accessibility & contrast

On white

8.36
#792791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#792791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792791
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792791#FFFFFF#000000##FFFFFF
##7927911.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#2A508F
Tritanopia (blue-blind)
#783C59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792791;
/* rgb */ color: rgb(121, 39, 145);
/* oklch */ color: oklch(44.5% 0.174 317.5);
Tailwind
colors: {
  custom: {
    50: '#a369b2',
    500: '#792791',
    950: '#000000',
  },
}
SCSS
$custom: #792791;
$custom-light: #a369b2;
$custom-dark: #000000;
JSON
{
  "hex": "#792791",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 286.415,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.17403,
    "h": 317.5
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#792791
secondary
#70B95B
accent
#E1476A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792791

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

Preview Lab → · Contrast checker → · Palette generator →

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