#811281#811281

#811281 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.185 H 328.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#811281
RGBrgb(129, 18, 129)
HSLhsl(300, 76%, 29%)
HSVhsv(300, 86%, 51%)
CMYKcmyk(0%, 86%, 0%, 49.4%)
CIE-LABlab(31.08, 56.21, -35.03)
CIE-LCHlch(31.08, 66.23, 328.06°)
OKLaboklab(43.06% 0.157 -0.0973)
OKLCHoklch(43.06% 0.185 328.2)
XYZxyz(13.2319, 6.6857, 21.3582)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811281 #128112
analogous
#4A1281 #811281 #81124A
triadic
#811281 #818112 #128181
tetradic
#811281 #814A12 #128112 #124A81
square
#811281 #814A12 #128112 #124A81
split-complementary
#811281 #4A8112 #12814A
monochromatic
#1B041B #4B0B4B #811281 #B719B7 #E22CE2

Accessibility & contrast

On white

8.99
#811281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#811281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811281
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811281#FFFFFF#000000##FFFFFF
##8112811.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#354E7E
Tritanopia (blue-blind)
#85284C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811281;
/* rgb */ color: rgb(129, 18, 129);
/* oklch */ color: oklch(43.1% 0.185 328.2);
Tailwind
colors: {
  custom: {
    50: '#a962a6',
    500: '#811281',
    950: '#000000',
  },
}
SCSS
$custom: #811281;
$custom-light: #a962a6;
$custom-dark: #000000;
JSON
{
  "hex": "#811281",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 129
  },
  "hsl": {
    "h": 300,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.43059,
    "c": 0.18468,
    "h": 328.2
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#811281
secondary
#38B738
accent
#F23636
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #811281

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

Preview Lab → · Contrast checker → · Palette generator →

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