#792988#792988

#792988 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.163 H 320.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#792988
RGBrgb(121, 41, 136)
HSLhsl(291, 54%, 35%)
HSVhsv(291, 70%, 53%)
CMYKcmyk(11%, 69.9%, 0%, 46.7%)
CIE-LABlab(32.76, 48.22, -36.79)
CIE-LCHlch(32.76, 60.65, 322.66°)
OKLaboklab(44.13% 0.1266 -0.1028)
OKLCHoklch(44.13% 0.163 320.9)
XYZxyz(13.1215, 7.4291, 24.0306)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792988 #388829
analogous
#492988 #792988 #882968
triadic
#792988 #887929 #298879
tetradic
#792988 #884929 #388829 #296888
square
#792988 #884929 #388829 #296888
split-complementary
#792988 #688829 #298849
monochromatic
#250D2A #4F1B59 #792988 #A337B7 #BC5DCE

Accessibility & contrast

On white

8.45
#792988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#792988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792988
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792988#FFFFFF#000000##FFFFFF
##7929881.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07478B
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#7A3A55
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792988;
/* rgb */ color: rgb(121, 41, 136);
/* oklch */ color: oklch(44.1% 0.163 320.9);
Tailwind
colors: {
  custom: {
    50: '#a36aab',
    500: '#792988',
    950: '#000000',
  },
}
SCSS
$custom: #792988;
$custom-light: #a36aab;
$custom-dark: #000000;
JSON
{
  "hex": "#792988",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 290.526,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44134,
    "c": 0.16307,
    "h": 320.9
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#792988
secondary
#67B459
accent
#DD4B62
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792988

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

Preview Lab → · Contrast checker → · Palette generator →

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