#812491#812491

#812491 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.181 H 321.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#812491
RGBrgb(129, 36, 145)
HSLhsl(291, 60%, 35%)
HSVhsv(291, 75%, 57%)
CMYKcmyk(11%, 75.2%, 0%, 43.1%)
CIE-LABlab(33.93, 53.75, -40.40)
CIE-LCHlch(33.93, 67.24, 323.07°)
OKLaboklab(45.41% 0.1412 -0.1131)
OKLCHoklch(45.41% 0.181 321.3)
XYZxyz(14.7944, 7.9740, 27.5424)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812491 #349124
analogous
#4B2491 #812491 #91246A
triadic
#812491 #918124 #249181
tetradic
#812491 #914B24 #349124 #246A91
square
#812491 #914B24 #349124 #246A91
split-complementary
#812491 #6A9124 #24914B
monochromatic
#2A0C2F #551860 #812491 #AD30C2 #C459D6

Accessibility & contrast

On white

8.09
#812491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#812491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812491
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812491#FFFFFF#000000##FFFFFF
##8124911.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#31538E
Tritanopia (blue-blind)
#823959
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #812491;
/* rgb */ color: rgb(129, 36, 145);
/* oklch */ color: oklch(45.4% 0.181 321.3);
Tailwind
colors: {
  custom: {
    50: '#a969b2',
    500: '#812491',
    950: '#000000',
  },
}
SCSS
$custom: #812491;
$custom-light: #a969b2;
$custom-dark: #000000;
JSON
{
  "hex": "#812491",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 291.193,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45405,
    "c": 0.18091,
    "h": 321.3
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#812491
secondary
#65BA56
accent
#E3445C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812491

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

Preview Lab → · Contrast checker → · Palette generator →

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