#792587#792587

#792587 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.167 H 321.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#792587
RGBrgb(121, 37, 135)
HSLhsl(291, 57%, 34%)
HSVhsv(291, 73%, 53%)
CMYKcmyk(10.4%, 72.6%, 0%, 47.1%)
CIE-LABlab(32.12, 49.67, -37.20)
CIE-LCHlch(32.12, 62.06, 323.17°)
OKLaboklab(43.65% 0.131 -0.104)
OKLCHoklch(43.65% 0.167 321.6)
XYZxyz(12.9194, 7.1381, 23.6142)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792587 #338725
analogous
#482587 #792587 #872564
triadic
#792587 #877925 #258779
tetradic
#792587 #874825 #338725 #256487
square
#792587 #874825 #338725 #256487
split-complementary
#792587 #648725 #258748
monochromatic
#230B27 #4E1857 #792587 #A432B7 #BF56D1

Accessibility & contrast

On white

8.65
#792587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792587
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792587#FFFFFF#000000##FFFFFF
##7925871.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#7A3753
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792587;
/* rgb */ color: rgb(121, 37, 135);
/* oklch */ color: oklch(43.7% 0.167 321.6);
Tailwind
colors: {
  custom: {
    50: '#a368aa',
    500: '#792587',
    950: '#000000',
  },
}
SCSS
$custom: #792587;
$custom-light: #a368aa;
$custom-dark: #000000;
JSON
{
  "hex": "#792587",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 291.429,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43651,
    "c": 0.16727,
    "h": 321.6
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#792587
secondary
#61B553
accent
#E0485D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792587

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

Preview Lab → · Contrast checker → · Palette generator →

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