#811979#811979

#811979 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.173 H 331.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#811979
RGBrgb(129, 25, 121)
HSLhsl(305, 68%, 30%)
HSVhsv(305, 81%, 51%)
CMYKcmyk(0%, 80.6%, 6.2%, 49.4%)
CIE-LABlab(31.22, 53.11, -29.78)
CIE-LCHlch(31.22, 60.90, 330.72°)
OKLaboklab(43% 0.1521 -0.0821)
OKLCHoklch(43% 0.173 331.6)
XYZxyz(12.8521, 6.7439, 18.7103)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811979 #198121
analogous
#551981 #811979 #811945
triadic
#811979 #798119 #197981
tetradic
#811979 #815519 #198121 #194581
square
#811979 #815519 #198121 #194581
split-complementary
#811979 #458119 #198155
monochromatic
#1A0519 #4E0F49 #811979 #B423A9 #D93BCD

Accessibility & contrast

On white

8.94
#811979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#811979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811979
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811979#FFFFFF#000000##FFFFFF
##8119791.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407C
Deuteranopia (green-blind)
#3C4E77
Tritanopia (blue-blind)
#872749
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811979;
/* rgb */ color: rgb(129, 25, 121);
/* oklch */ color: oklch(43.0% 0.173 331.6);
Tailwind
colors: {
  custom: {
    50: '#a964a0',
    500: '#811979',
    950: '#000000',
  },
}
SCSS
$custom: #811979;
$custom-light: #a964a0;
$custom-dark: #000000;
JSON
{
  "hex": "#811979",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 304.615,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43002,
    "c": 0.17282,
    "h": 331.6
  },
  "luminance": 0.06743
}

Semantic roles & 50–950 ramp

primary
#811979
secondary
#41B54A
accent
#EA4B3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #811979

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

Preview Lab → · Contrast checker → · Palette generator →

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