#812879#812879

#812879 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.155 H 331.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#812879
RGBrgb(129, 40, 121)
HSLhsl(305, 53%, 33%)
HSVhsv(305, 69%, 51%)
CMYKcmyk(0%, 69%, 6.2%, 49.4%)
CIE-LABlab(33.06, 47.87, -26.87)
CIE-LCHlch(33.06, 54.89, 330.69°)
OKLaboklab(44.33% 0.1369 -0.0738)
OKLCHoklch(44.33% 0.155 331.7)
XYZxyz(13.2632, 7.5662, 18.8473)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812879 #288130
analogous
#5C2881 #812879 #81284C
triadic
#812879 #798128 #287981
tetradic
#812879 #815C28 #288130 #284C81
square
#812879 #815C28 #288130 #284C81
split-complementary
#812879 #4C8128 #28815C
monochromatic
#240B21 #521A4D #812879 #B036A5 #CB58C1

Accessibility & contrast

On white

8.36
#812879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#812879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812879
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812879#FFFFFF#000000##FFFFFF
##8128791.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#435277
Tritanopia (blue-blind)
#86314D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #812879;
/* rgb */ color: rgb(129, 40, 121);
/* oklch */ color: oklch(44.3% 0.155 331.7);
Tailwind
colors: {
  custom: {
    50: '#a86aa0',
    500: '#812879',
    950: '#000000',
  },
}
SCSS
$custom: #812879;
$custom-light: #a86aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#812879",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 305.393,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44329,
    "c": 0.15549,
    "h": 331.7
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#812879
secondary
#54B05D
accent
#DC594C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812879

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

Preview Lab → · Contrast checker → · Palette generator →

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