#812779#812779

#812779 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.157 H 331.7°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#812779
RGBrgb(129, 39, 121)
HSLhsl(305, 54%, 33%)
HSVhsv(305, 70%, 51%)
CMYKcmyk(0%, 69.8%, 6.2%, 49.4%)
CIE-LABlab(32.92, 48.27, -27.10)
CIE-LCHlch(32.92, 55.36, 330.69°)
OKLaboklab(44.22% 0.138 -0.0744)
OKLCHoklch(44.22% 0.157 331.7)
XYZxyz(13.2300, 7.4997, 18.8362)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812779 #27812F
analogous
#5C2781 #812779 #81274C
triadic
#812779 #798127 #277981
tetradic
#812779 #815C27 #27812F #274C81
square
#812779 #815C27 #27812F #274C81
split-complementary
#812779 #4C8127 #27815C
monochromatic
#230B21 #52194D #812779 #B035A5 #CC56C2

Accessibility & contrast

On white

8.40
#812779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#812779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812779
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812779#FFFFFF#000000##FFFFFF
##8127791.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457B
Deuteranopia (green-blind)
#425277
Tritanopia (blue-blind)
#86304C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812779;
/* rgb */ color: rgb(129, 39, 121);
/* oklch */ color: oklch(44.2% 0.157 331.7);
Tailwind
colors: {
  custom: {
    50: '#a969a0',
    500: '#812779',
    950: '#000000',
  },
}
SCSS
$custom: #812779;
$custom-light: #a969a0;
$custom-dark: #000000;
JSON
{
  "hex": "#812779",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 305.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44225,
    "c": 0.15682,
    "h": 331.7
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#812779
secondary
#53B15B
accent
#DD584B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812779

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

Preview Lab → · Contrast checker → · Palette generator →

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