#812973#812973

#812973 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.149 H 334.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#812973
RGBrgb(129, 41, 115)
HSLhsl(310, 52%, 33%)
HSVhsv(310, 68%, 51%)
CMYKcmyk(0%, 68.2%, 10.9%, 49.4%)
CIE-LABlab(32.90, 46.44, -23.34)
CIE-LCHlch(32.90, 51.98, 333.32°)
OKLaboklab(44.11% 0.135 -0.0637)
OKLCHoklch(44.11% 0.149 334.8)
XYZxyz(12.9408, 7.4919, 16.9808)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812973 #298137
analogous
#632981 #812973 #812947
triadic
#812973 #738129 #297381
tetradic
#812973 #816329 #298137 #294781
square
#812973 #816329 #298137 #294781
split-complementary
#812973 #478129 #298163
monochromatic
#240B20 #531A4A #812973 #AF389C #CB5AB9

Accessibility & contrast

On white

8.41
#812973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812973
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812973#FFFFFF#000000##FFFFFF
##8129731.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284575
Deuteranopia (green-blind)
#465271
Tritanopia (blue-blind)
#872F4A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812973;
/* rgb */ color: rgb(129, 41, 115);
/* oklch */ color: oklch(44.1% 0.149 334.8);
Tailwind
colors: {
  custom: {
    50: '#a86a9b',
    500: '#812973',
    950: '#000000',
  },
}
SCSS
$custom: #812973;
$custom-light: #a86a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#812973",
  "rgb": {
    "r": 129,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 309.545,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44112,
    "c": 0.14927,
    "h": 334.8
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#812973
secondary
#56B064
accent
#DB634D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812973

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

Preview Lab → · Contrast checker → · Palette generator →

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