#791989#791989

#791989 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.182 H 321.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#791989
RGBrgb(121, 25, 137)
HSLhsl(291, 69%, 32%)
HSVhsv(291, 82%, 54%)
CMYKcmyk(11.7%, 81.8%, 0%, 46.3%)
CIE-LABlab(30.80, 54.21, -40.55)
CIE-LCHlch(30.80, 67.70, 323.20°)
OKLaboklab(42.76% 0.142 -0.1137)
OKLCHoklch(42.76% 0.182 321.3)
XYZxyz(12.7476, 6.5671, 24.2582)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791989 #298919
analogous
#411989 #791989 #891961
triadic
#791989 #897919 #198979
tetradic
#791989 #894119 #298919 #196189
square
#791989 #894119 #298919 #196189
split-complementary
#791989 #618919 #198941
monochromatic
#1E0621 #4B1055 #791989 #A722BD #C640DC

Accessibility & contrast

On white

9.08
#791989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#791989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791989
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791989#FFFFFF#000000##FFFFFF
##7919891.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#284C87
Tritanopia (blue-blind)
#7A3152
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791989;
/* rgb */ color: rgb(121, 25, 137);
/* oklch */ color: oklch(42.8% 0.182 321.3);
Tailwind
colors: {
  custom: {
    50: '#a363ac',
    500: '#791989',
    950: '#000000',
  },
}
SCSS
$custom: #791989;
$custom-light: #a363ac;
$custom-dark: #000000;
JSON
{
  "hex": "#791989",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 291.429,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42756,
    "c": 0.18192,
    "h": 321.3
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#791989
secondary
#53BC41
accent
#EC3C55
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791989

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

Preview Lab → · Contrast checker → · Palette generator →

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