#812472#812472

#812472 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.155 H 335.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#812472
RGBrgb(129, 36, 114)
HSLhsl(310, 56%, 32%)
HSVhsv(310, 72%, 51%)
CMYKcmyk(0%, 72.1%, 11.6%, 49.4%)
CIE-LABlab(32.13, 48.29, -23.91)
CIE-LCHlch(32.13, 53.88, 333.66°)
OKLaboklab(43.54% 0.1408 -0.0652)
OKLCHoklch(43.54% 0.155 335.1)
XYZxyz(12.7215, 7.1449, 16.6254)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812472 #248133
analogous
#612481 #812472 #812444
triadic
#812472 #728124 #247281
tetradic
#812472 #816124 #248133 #244481
square
#812472 #816124 #248133 #244481
split-complementary
#812472 #448124 #248161
monochromatic
#21091D #511748 #812472 #B1319C #CE51BA

Accessibility & contrast

On white

8.65
#812472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#812472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812472
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812472#FFFFFF#000000##FFFFFF
##8124721.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244374
Deuteranopia (green-blind)
#445170
Tritanopia (blue-blind)
#872B48
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #812472;
/* rgb */ color: rgb(129, 36, 114);
/* oklch */ color: oklch(43.5% 0.155 335.1);
Tailwind
colors: {
  custom: {
    50: '#a9689b',
    500: '#812472',
    950: '#000000',
  },
}
SCSS
$custom: #812472;
$custom-light: #a9689b;
$custom-dark: #000000;
JSON
{
  "hex": "#812472",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 309.677,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43539,
    "c": 0.15519,
    "h": 335.1
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

primary
#812472
secondary
#4EB25F
accent
#E06148
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812472

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

Preview Lab → · Contrast checker → · Palette generator →

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