#812581#812581

#812581 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.166 H 327.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#812581
RGBrgb(129, 37, 129)
HSLhsl(300, 55%, 33%)
HSVhsv(300, 71%, 51%)
CMYKcmyk(0%, 71.3%, 0%, 49.4%)
CIE-LABlab(33.08, 50.44, -31.85)
CIE-LCHlch(33.08, 59.65, 327.73°)
OKLaboklab(44.49% 0.1407 -0.0882)
OKLCHoklch(44.49% 0.166 327.9)
XYZxyz(13.6771, 7.5762, 21.5066)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812581 #258125
analogous
#532581 #812581 #812553
triadic
#812581 #818125 #258181
tetradic
#812581 #815325 #258125 #255381
square
#812581 #815325 #258125 #255381
split-complementary
#812581 #538125 #258153
monochromatic
#220A22 #511751 #812581 #B133B1 #CE53CE

Accessibility & contrast

On white

8.35
#812581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812581
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812581#FFFFFF#000000##FFFFFF
##8125811.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164684
Deuteranopia (green-blind)
#3D527F
Tritanopia (blue-blind)
#853250
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #812581;
/* rgb */ color: rgb(129, 37, 129);
/* oklch */ color: oklch(44.5% 0.166 327.9);
Tailwind
colors: {
  custom: {
    50: '#a969a6',
    500: '#812581',
    950: '#000000',
  },
}
SCSS
$custom: #812581;
$custom-light: #a969a6;
$custom-dark: #000000;
JSON
{
  "hex": "#812581",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 129
  },
  "hsl": {
    "h": 300,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44488,
    "c": 0.16601,
    "h": 327.9
  },
  "luminance": 0.07575
}

Semantic roles & 50–950 ramp

primary
#812581
secondary
#50B250
accent
#DF4949
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #812581

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

Preview Lab → · Contrast checker → · Palette generator →

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