#792089#792089

#792089 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.175 H 321.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#792089
RGBrgb(121, 32, 137)
HSLhsl(291, 62%, 33%)
HSVhsv(291, 77%, 54%)
CMYKcmyk(11.7%, 76.6%, 0%, 46.3%)
CIE-LABlab(31.59, 51.94, -39.29)
CIE-LCHlch(31.59, 65.12, 322.89°)
OKLaboklab(43.32% 0.1359 -0.11)
OKLCHoklch(43.32% 0.175 321)
XYZxyz(12.9165, 6.9048, 24.3145)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792089 #308920
analogous
#442089 #792089 #892064
triadic
#792089 #897920 #208979
tetradic
#792089 #894420 #308920 #206489
square
#792089 #894420 #308920 #206489
split-complementary
#792089 #648920 #208944
monochromatic
#210926 #4D1457 #792089 #A52CBB #C14ED6

Accessibility & contrast

On white

8.82
#792089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#792089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792089
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792089#FFFFFF#000000##FFFFFF
##7920891.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#2C4D87
Tritanopia (blue-blind)
#7A3553
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792089;
/* rgb */ color: rgb(121, 32, 137);
/* oklch */ color: oklch(43.3% 0.175 321.0);
Tailwind
colors: {
  custom: {
    50: '#a366ac',
    500: '#792089',
    950: '#000000',
  },
}
SCSS
$custom: #792089;
$custom-light: #a366ac;
$custom-dark: #000000;
JSON
{
  "hex": "#792089",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 290.857,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43315,
    "c": 0.1749,
    "h": 321
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#792089
secondary
#5DB94C
accent
#E5435B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #792089

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

Preview Lab → · Contrast checker → · Palette generator →

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