#792589#792589

#792589 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.169 H 320.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#792589
RGBrgb(121, 37, 137)
HSLhsl(290, 57%, 34%)
HSVhsv(290, 73%, 54%)
CMYKcmyk(11.7%, 73%, 0%, 46.3%)
CIE-LABlab(32.25, 50.06, -38.23)
CIE-LCHlch(32.25, 62.99, 322.63°)
OKLaboklab(43.78% 0.1309 -0.107)
OKLCHoklch(43.78% 0.169 320.7)
XYZxyz(13.0616, 7.1949, 24.3628)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792589 #358925
analogous
#472589 #792589 #892567
triadic
#792589 #897925 #258979
tetradic
#792589 #894725 #358925 #256789
square
#792589 #894725 #358925 #256789
split-complementary
#792589 #678925 #258947
monochromatic
#240B29 #4E1859 #792589 #A432B9 #BE57D2

Accessibility & contrast

On white

8.61
#792589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#792589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792589
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792589#FFFFFF#000000##FFFFFF
##7925891.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#304F87
Tritanopia (blue-blind)
#7A3854
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792589;
/* rgb */ color: rgb(121, 37, 137);
/* oklch */ color: oklch(43.8% 0.169 320.7);
Tailwind
colors: {
  custom: {
    50: '#a368ac',
    500: '#792589',
    950: '#000000',
  },
}
SCSS
$custom: #792589;
$custom-light: #a368ac;
$custom-dark: #000000;
JSON
{
  "hex": "#792589",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 290.4,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43783,
    "c": 0.16908,
    "h": 320.7
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#792589
secondary
#63B654
accent
#E14760
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792589

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

Preview Lab → · Contrast checker → · Palette generator →

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