#812591#812591

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

Color values

HEX#812591
RGBrgb(129, 37, 145)
HSLhsl(291, 59%, 36%)
HSVhsv(291, 74%, 57%)
CMYKcmyk(11%, 74.5%, 0%, 43.1%)
CIE-LABlab(34.06, 53.39, -40.20)
CIE-LCHlch(34.06, 66.83, 323.02°)
OKLaboklab(45.5% 0.1402 -0.1125)
OKLCHoklch(45.5% 0.18 321.3)
XYZxyz(14.8251, 8.0354, 27.5527)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812591 #359125
analogous
#4B2591 #812591 #91256B
triadic
#812591 #918125 #259181
tetradic
#812591 #914B25 #359125 #256B91
square
#812591 #914B25 #359125 #256B91
split-complementary
#812591 #6B9125 #25914B
monochromatic
#2A0C2F #561960 #812591 #AC31C2 #C35BD5

Accessibility & contrast

On white

8.06
#812591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#812591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812591
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812591#FFFFFF#000000##FFFFFF
##8125911.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#32538E
Tritanopia (blue-blind)
#823A59
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #812591;
/* rgb */ color: rgb(129, 37, 145);
/* oklch */ color: oklch(45.5% 0.180 321.3);
Tailwind
colors: {
  custom: {
    50: '#a969b2',
    500: '#812591',
    950: '#000000',
  },
}
SCSS
$custom: #812591;
$custom-light: #a969b2;
$custom-dark: #000000;
JSON
{
  "hex": "#812591",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 291.111,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45496,
    "c": 0.17977,
    "h": 321.3
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#812591
secondary
#66BA58
accent
#E3455D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812591

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

Preview Lab → · Contrast checker → · Palette generator →

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