#792588#792588

#792588 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.168 H 321.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#792588
RGBrgb(121, 37, 136)
HSLhsl(291, 57%, 34%)
HSVhsv(291, 73%, 53%)
CMYKcmyk(11%, 72.8%, 0%, 46.7%)
CIE-LABlab(32.18, 49.87, -37.72)
CIE-LCHlch(32.18, 62.52, 322.90°)
OKLaboklab(43.72% 0.131 -0.1055)
OKLCHoklch(43.72% 0.168 321.2)
XYZxyz(12.9902, 7.1663, 23.9868)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792588 #348825
analogous
#482588 #792588 #882566
triadic
#792588 #887925 #258879
tetradic
#792588 #884825 #348825 #256688
square
#792588 #884825 #348825 #256688
split-complementary
#792588 #668825 #258848
monochromatic
#230B28 #4E1858 #792588 #A432B8 #BE56D1

Accessibility & contrast

On white

8.63
#792588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#792588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792588
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792588#FFFFFF#000000##FFFFFF
##7925881.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#7A3754
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792588;
/* rgb */ color: rgb(121, 37, 136);
/* oklch */ color: oklch(43.7% 0.168 321.2);
Tailwind
colors: {
  custom: {
    50: '#a368ab',
    500: '#792588',
    950: '#000000',
  },
}
SCSS
$custom: #792588;
$custom-light: #a368ab;
$custom-dark: #000000;
JSON
{
  "hex": "#792588",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 290.909,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43717,
    "c": 0.16818,
    "h": 321.2
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#792588
secondary
#62B653
accent
#E0475F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792588

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

Preview Lab → · Contrast checker → · Palette generator →

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