#812573#812573

#812573 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.155 H 334.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#812573
RGBrgb(129, 37, 115)
HSLhsl(309, 55%, 33%)
HSVhsv(309, 71%, 51%)
CMYKcmyk(0%, 71.3%, 10.9%, 49.4%)
CIE-LABlab(32.32, 48.06, -24.25)
CIE-LCHlch(32.32, 53.83, 333.23°)
OKLaboklab(43.69% 0.1398 -0.0662)
OKLCHoklch(43.69% 0.155 334.7)
XYZxyz(12.8095, 7.2292, 16.9371)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812573 #258133
analogous
#612581 #812573 #812545
triadic
#812573 #738125 #257381
tetradic
#812573 #816125 #258133 #254581
square
#812573 #816125 #258133 #254581
split-complementary
#812573 #458125 #258161
monochromatic
#220A1E #511749 #812573 #B1339D #CE53BB

Accessibility & contrast

On white

8.59
#812573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#812573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812573
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812573#FFFFFF#000000##FFFFFF
##8125731.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244375
Deuteranopia (green-blind)
#445171
Tritanopia (blue-blind)
#872C49
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #812573;
/* rgb */ color: rgb(129, 37, 115);
/* oklch */ color: oklch(43.7% 0.155 334.7);
Tailwind
colors: {
  custom: {
    50: '#a9689b',
    500: '#812573',
    950: '#000000',
  },
}
SCSS
$custom: #812573;
$custom-light: #a9689b;
$custom-dark: #000000;
JSON
{
  "hex": "#812573",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 309.13,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43692,
    "c": 0.15467,
    "h": 334.7
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#812573
secondary
#50B25F
accent
#DF6049
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812573

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

Preview Lab → · Contrast checker → · Palette generator →

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