#811F8D#811F8D

#811F8D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.183 H 323.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#811F8D
RGBrgb(129, 31, 141)
HSLhsl(293, 64%, 34%)
HSVhsv(293, 78%, 55%)
CMYKcmyk(8.5%, 78%, 0%, 44.7%)
CIE-LABlab(33.07, 54.72, -39.31)
CIE-LCHlch(33.07, 67.38, 324.31°)
OKLaboklab(44.72% 0.1462 -0.1098)
OKLCHoklch(44.72% 0.183 323.1)
XYZxyz(14.3505, 7.5711, 25.8996)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811F8D #2B8D1F
analogous
#4A1F8D #811F8D #8D1F62
triadic
#811F8D #8D811F #1F8D81
tetradic
#811F8D #8D4A1F #2B8D1F #1F628D
square
#811F8D #8D4A1F #2B8D1F #1F628D
split-complementary
#811F8D #628D1F #1F8D4A
monochromatic
#250929 #53145B #811F8D #AF2ABF #C94ED8

Accessibility & contrast

On white

8.35
#811F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#811F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##811F8D#FFFFFF#000000##FFFFFF
##811F8D1.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)
#004790
Deuteranopia (green-blind)
#32528A
Tritanopia (blue-blind)
#833455
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #811f8d;
/* rgb */ color: rgb(129, 31, 141);
/* oklch */ color: oklch(44.7% 0.183 323.1);
Tailwind
colors: {
  custom: {
    50: '#a967af',
    500: '#811f8d',
    950: '#000000',
  },
}
SCSS
$custom: #811f8d;
$custom-light: #a967af;
$custom-dark: #000000;
JSON
{
  "hex": "#811f8d",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 293.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44715,
    "c": 0.18285,
    "h": 323.1
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#811F8D
secondary
#59BB4D
accent
#E74153
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #811F8D

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

Preview Lab → · Contrast checker → · Palette generator →

#811F8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva