#791869#791869

#791869 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.158 H 335.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#791869
RGBrgb(121, 24, 105)
HSLhsl(310, 67%, 28%)
HSVhsv(310, 80%, 47%)
CMYKcmyk(0%, 80.2%, 13.2%, 52.5%)
CIE-LABlab(28.74, 49.03, -23.57)
CIE-LCHlch(28.74, 54.40, 334.33°)
OKLaboklab(40.67% 0.1438 -0.0643)
OKLCHoklch(40.67% 0.158 335.9)
XYZxyz(10.7618, 5.7391, 13.9028)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791869 #187928
analogous
#581879 #791869 #791838
triadic
#791869 #697918 #186979
tetradic
#791869 #795818 #187928 #183879
square
#791869 #795818 #187928 #183879
split-complementary
#791869 #387918 #187958
monochromatic
#1A0516 #460E3D #791869 #AC2295 #D735BC

Accessibility & contrast

On white

9.78
#791869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#791869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791869
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791869#FFFFFF#000000##FFFFFF
##7918691.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193B6B
Deuteranopia (green-blind)
#3C4967
Tritanopia (blue-blind)
#80203F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791869;
/* rgb */ color: rgb(121, 24, 105);
/* oklch */ color: oklch(40.7% 0.158 335.9);
Tailwind
colors: {
  custom: {
    50: '#a36194',
    500: '#791869',
    950: '#000000',
  },
}
SCSS
$custom: #791869;
$custom-light: #a36194;
$custom-dark: #000000;
JSON
{
  "hex": "#791869",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 309.897,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40666,
    "c": 0.15754,
    "h": 335.9
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#791869
secondary
#3FAE51
accent
#EA5A3E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #791869

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

Preview Lab → · Contrast checker → · Palette generator →

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