#791889#791889

#791889 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.183 H 321.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#791889
RGBrgb(121, 24, 137)
HSLhsl(292, 70%, 32%)
HSVhsv(292, 82%, 54%)
CMYKcmyk(11.7%, 82.5%, 0%, 46.3%)
CIE-LABlab(30.70, 54.50, -40.72)
CIE-LCHlch(30.70, 68.03, 323.24°)
OKLaboklab(42.69% 0.1428 -0.1142)
OKLCHoklch(42.69% 0.183 321.4)
XYZxyz(12.7266, 6.5251, 24.2512)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791889 #288918
analogous
#411889 #791889 #891861
triadic
#791889 #897918 #188979
tetradic
#791889 #894118 #288918 #186189
square
#791889 #894118 #288918 #186189
split-complementary
#791889 #618918 #188941
monochromatic
#1D0621 #4B0F55 #791889 #A721BD #C73EDD

Accessibility & contrast

On white

9.11
#791889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#791889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791889
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791889#FFFFFF#000000##FFFFFF
##7918891.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791889;
/* rgb */ color: rgb(121, 24, 137);
/* oklch */ color: oklch(42.7% 0.183 321.4);
Tailwind
colors: {
  custom: {
    50: '#a463ac',
    500: '#791889',
    950: '#000000',
  },
}
SCSS
$custom: #791889;
$custom-light: #a463ac;
$custom-dark: #000000;
JSON
{
  "hex": "#791889",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 291.504,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42686,
    "c": 0.18282,
    "h": 321.4
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#791889
secondary
#52BD40
accent
#ED3B54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791889

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

Preview Lab → · Contrast checker → · Palette generator →

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