#812488#812488

#812488 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.173 H 324.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#812488
RGBrgb(129, 36, 136)
HSLhsl(296, 58%, 34%)
HSVhsv(296, 74%, 53%)
CMYKcmyk(5.1%, 73.5%, 0%, 46.7%)
CIE-LABlab(33.37, 52.07, -35.75)
CIE-LCHlch(33.37, 63.17, 325.53°)
OKLaboklab(44.82% 0.1417 -0.0995)
OKLCHoklch(44.82% 0.173 324.9)
XYZxyz(14.1277, 7.7074, 24.0313)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812488 #2B8824
analogous
#4F2488 #812488 #88245D
triadic
#812488 #888124 #248881
tetradic
#812488 #884F24 #2B8824 #245D88
square
#812488 #884F24 #2B8824 #245D88
split-complementary
#812488 #5D8824 #24884F
monochromatic
#250A27 #531758 #812488 #AF31B8 #C955D2

Accessibility & contrast

On white

8.26
#812488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#812488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812488
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812488#FFFFFF#000000##FFFFFF
##8124881.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05478B
Deuteranopia (green-blind)
#385286
Tritanopia (blue-blind)
#843554
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #812488;
/* rgb */ color: rgb(129, 36, 136);
/* oklch */ color: oklch(44.8% 0.173 324.9);
Tailwind
colors: {
  custom: {
    50: '#a969ab',
    500: '#812488',
    950: '#000000',
  },
}
SCSS
$custom: #812488;
$custom-light: #a969ab;
$custom-dark: #000000;
JSON
{
  "hex": "#812488",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 295.8,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44823,
    "c": 0.17314,
    "h": 324.9
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#812488
secondary
#59B652
accent
#E14651
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812488

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

Preview Lab → · Contrast checker → · Palette generator →

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