#792789#792789

#792789 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.167 H 320.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#792789
RGBrgb(121, 39, 137)
HSLhsl(290, 56%, 35%)
HSVhsv(290, 72%, 54%)
CMYKcmyk(11.7%, 71.5%, 0%, 46.3%)
CIE-LABlab(32.53, 49.26, -37.78)
CIE-LCHlch(32.53, 62.08, 322.51°)
OKLaboklab(43.99% 0.1288 -0.1057)
OKLCHoklch(43.99% 0.167 320.6)
XYZxyz(13.1255, 7.3228, 24.3841)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792789 #378927
analogous
#482789 #792789 #892768
triadic
#792789 #897927 #278979
tetradic
#792789 #894827 #378927 #276889
square
#792789 #894827 #378927 #276889
split-complementary
#792789 #688927 #278948
monochromatic
#250C2A #4F1959 #792789 #A335B9 #BD5AD0

Accessibility & contrast

On white

8.52
#792789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#792789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792789
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792789#FFFFFF#000000##FFFFFF
##7927891.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#314F87
Tritanopia (blue-blind)
#7A3955
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792789;
/* rgb */ color: rgb(121, 39, 137);
/* oklch */ color: oklch(44.0% 0.167 320.6);
Tailwind
colors: {
  custom: {
    50: '#a369ac',
    500: '#792789',
    950: '#000000',
  },
}
SCSS
$custom: #792789;
$custom-light: #a369ac;
$custom-dark: #000000;
JSON
{
  "hex": "#792789",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 290.204,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43986,
    "c": 0.16659,
    "h": 320.6
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#792789
secondary
#66B557
accent
#DF4961
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792789

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

Preview Lab → · Contrast checker → · Palette generator →

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