#812072#812072

#812072 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.160 H 335.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#812072
RGBrgb(129, 32, 114)
HSLhsl(309, 60%, 32%)
HSVhsv(309, 75%, 51%)
CMYKcmyk(0%, 75.2%, 11.6%, 49.4%)
CIE-LABlab(31.62, 49.76, -24.72)
CIE-LCHlch(31.62, 55.56, 333.58°)
OKLaboklab(43.16% 0.1452 -0.0675)
OKLCHoklch(43.16% 0.16 335)
XYZxyz(12.6072, 6.9162, 16.5873)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812072 #20812F
analogous
#602081 #812072 #812042
triadic
#812072 #728120 #207281
tetradic
#812072 #816020 #20812F #204281
square
#812072 #816020 #20812F #204281
split-complementary
#812072 #428120 #208160
monochromatic
#1F081B #501447 #812072 #B22C9D #D249BD

Accessibility & contrast

On white

8.81
#812072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#812072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812072
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812072#FFFFFF#000000##FFFFFF
##8120721.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204174
Deuteranopia (green-blind)
#424F70
Tritanopia (blue-blind)
#882847
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #812072;
/* rgb */ color: rgb(129, 32, 114);
/* oklch */ color: oklch(43.2% 0.160 335.0);
Tailwind
colors: {
  custom: {
    50: '#a9669b',
    500: '#812072',
    950: '#000000',
  },
}
SCSS
$custom: #812072;
$custom-light: #a9669b;
$custom-dark: #000000;
JSON
{
  "hex": "#812072",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 309.278,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43164,
    "c": 0.16009,
    "h": 335
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#812072
secondary
#49B45A
accent
#E35D44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #812072

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

Preview Lab → · Contrast checker → · Palette generator →

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