#791870#791870

#791870 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.163 H 332.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#791870
RGBrgb(121, 24, 112)
HSLhsl(306, 67%, 28%)
HSVhsv(306, 80%, 47%)
CMYKcmyk(0%, 80.2%, 7.4%, 52.5%)
CIE-LABlab(29.13, 50.14, -27.46)
CIE-LCHlch(29.13, 57.16, 331.29°)
OKLaboklab(41.07% 0.1442 -0.0755)
OKLCHoklch(41.07% 0.163 332.3)
XYZxyz(11.1365, 5.8890, 15.8763)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791870 #187921
analogous
#511879 #791870 #79183F
triadic
#791870 #707918 #187079
tetradic
#791870 #795118 #187921 #183F79
square
#791870 #795118 #187921 #183F79
split-complementary
#791870 #3F7918 #187951
monochromatic
#1A0518 #460E41 #791870 #AC229F #D735C8

Accessibility & contrast

On white

9.64
#791870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#791870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791870
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791870#FFFFFF#000000##FFFFFF
##7918701.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113C72
Deuteranopia (green-blind)
#39496E
Tritanopia (blue-blind)
#7E2443
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791870;
/* rgb */ color: rgb(121, 24, 112);
/* oklch */ color: oklch(41.1% 0.163 332.3);
Tailwind
colors: {
  custom: {
    50: '#a36299',
    500: '#791870',
    950: '#000000',
  },
}
SCSS
$custom: #791870;
$custom-light: #a36299;
$custom-dark: #000000;
JSON
{
  "hex": "#791870",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 305.567,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41068,
    "c": 0.16277,
    "h": 332.3
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#791870
secondary
#3FAE49
accent
#EA4E3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791870

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

Preview Lab → · Contrast checker → · Palette generator →

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