#792491#792491

#792491 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.178 H 317.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#792491
RGBrgb(121, 36, 145)
HSLhsl(287, 60%, 35%)
HSVhsv(287, 75%, 57%)
CMYKcmyk(16.6%, 75.2%, 0%, 43.1%)
CIE-LABlab(32.64, 52.04, -42.54)
CIE-LCHlch(32.64, 67.22, 320.73°)
OKLaboklab(44.23% 0.1313 -0.1196)
OKLCHoklch(44.23% 0.178 317.7)
XYZxyz(13.6261, 7.3716, 27.4877)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792491 #3C9124
analogous
#422491 #792491 #912472
triadic
#792491 #917924 #249179
tetradic
#792491 #914224 #3C9124 #247291
square
#792491 #914224 #3C9124 #247291
split-complementary
#792491 #729124 #249142
monochromatic
#270C2F #501860 #792491 #A230C2 #BB59D6

Accessibility & contrast

On white

8.49
#792491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#792491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792491
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792491#FFFFFF#000000##FFFFFF
##7924911.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#284F8F
Tritanopia (blue-blind)
#783B59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792491;
/* rgb */ color: rgb(121, 36, 145);
/* oklch */ color: oklch(44.2% 0.178 317.7);
Tailwind
colors: {
  custom: {
    50: '#a368b2',
    500: '#792491',
    950: '#000000',
  },
}
SCSS
$custom: #792491;
$custom-light: #a368b2;
$custom-dark: #000000;
JSON
{
  "hex": "#792491",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 286.789,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44231,
    "c": 0.17757,
    "h": 317.7
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#792491
secondary
#6CBA56
accent
#E34467
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792491

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

Preview Lab → · Contrast checker → · Palette generator →

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