#812588#812588

#812588 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.172 H 324.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#812588
RGBrgb(129, 37, 136)
HSLhsl(296, 57%, 34%)
HSVhsv(296, 73%, 53%)
CMYKcmyk(5.1%, 72.8%, 0%, 46.7%)
CIE-LABlab(33.50, 51.70, -35.54)
CIE-LCHlch(33.50, 62.74, 325.49°)
OKLaboklab(44.92% 0.1407 -0.0989)
OKLCHoklch(44.92% 0.172 324.9)
XYZxyz(14.1584, 7.7687, 24.0416)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812588 #2C8825
analogous
#502588 #812588 #88255E
triadic
#812588 #888125 #258881
tetradic
#812588 #885025 #2C8825 #255E88
square
#812588 #885025 #2C8825 #255E88
split-complementary
#812588 #5E8825 #258850
monochromatic
#260B28 #531858 #812588 #AF32B8 #C856D1

Accessibility & contrast

On white

8.22
#812588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#812588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812588
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812588#FFFFFF#000000##FFFFFF
##8125881.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08488B
Deuteranopia (green-blind)
#395386
Tritanopia (blue-blind)
#843654
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #812588;
/* rgb */ color: rgb(129, 37, 136);
/* oklch */ color: oklch(44.9% 0.172 324.9);
Tailwind
colors: {
  custom: {
    50: '#a969ab',
    500: '#812588',
    950: '#000000',
  },
}
SCSS
$custom: #812588;
$custom-light: #a969ab;
$custom-dark: #000000;
JSON
{
  "hex": "#812588",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 295.758,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44917,
    "c": 0.17195,
    "h": 324.9
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#812588
secondary
#5AB653
accent
#E04752
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812588

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

Preview Lab → · Contrast checker → · Palette generator →

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