#791876#791876

#791876 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.167 H 329.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#791876
RGBrgb(121, 24, 118)
HSLhsl(302, 67%, 28%)
HSVhsv(302, 80%, 47%)
CMYKcmyk(0%, 80.2%, 2.5%, 52.5%)
CIE-LABlab(29.48, 51.13, -30.73)
CIE-LCHlch(29.48, 59.65, 329.00°)
OKLaboklab(41.43% 0.1442 -0.085)
OKLCHoklch(41.43% 0.167 329.5)
XYZxyz(11.4817, 6.0271, 17.6947)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791876 #18791B
analogous
#4B1879 #791876 #791845
triadic
#791876 #767918 #187679
tetradic
#791876 #794B18 #18791B #184579
square
#791876 #794B18 #18791B #184579
split-complementary
#791876 #457918 #18794B
monochromatic
#1A0519 #460E44 #791876 #AC22A8 #D735D2

Accessibility & contrast

On white

9.52
#791876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#791876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791876
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791876#FFFFFF#000000##FFFFFF
##7918761.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053D78
Deuteranopia (green-blind)
#364A74
Tritanopia (blue-blind)
#7E2747
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791876;
/* rgb */ color: rgb(121, 24, 118);
/* oklch */ color: oklch(41.4% 0.167 329.5);
Tailwind
colors: {
  custom: {
    50: '#a3629e',
    500: '#791876',
    950: '#000000',
  },
}
SCSS
$custom: #791876;
$custom-light: #a3629e;
$custom-dark: #000000;
JSON
{
  "hex": "#791876",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 301.856,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41431,
    "c": 0.16742,
    "h": 329.5
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#791876
secondary
#3FAE42
accent
#EA433E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791876

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

Preview Lab → · Contrast checker → · Palette generator →

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