#811272#811272

#811272 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.174 H 334.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#811272
RGBrgb(129, 18, 114)
HSLhsl(308, 76%, 29%)
HSVhsv(308, 86%, 51%)
CMYKcmyk(0%, 86%, 11.6%, 49.4%)
CIE-LABlab(30.20, 53.83, -26.95)
CIE-LCHlch(30.20, 60.20, 333.40°)
OKLaboklab(42.15% 0.1572 -0.0739)
OKLCHoklch(42.15% 0.174 334.8)
XYZxyz(12.3070, 6.3158, 16.4872)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811272 #128121
analogous
#591281 #811272 #81123B
triadic
#811272 #728112 #127281
tetradic
#811272 #815912 #128121 #123B81
square
#811272 #815912 #128121 #123B81
split-complementary
#811272 #3B8112 #128159
monochromatic
#1B0418 #4B0B43 #811272 #B719A1 #E22CC9

Accessibility & contrast

On white

9.28
#811272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#811272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811272
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811272#FFFFFF#000000##FFFFFF
##8112721.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103D74
Deuteranopia (green-blind)
#3E4D70
Tritanopia (blue-blind)
#881E43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #811272;
/* rgb */ color: rgb(129, 18, 114);
/* oklch */ color: oklch(42.1% 0.174 334.8);
Tailwind
colors: {
  custom: {
    50: '#a9619b',
    500: '#811272',
    950: '#000000',
  },
}
SCSS
$custom: #811272;
$custom-light: #a9619b;
$custom-dark: #000000;
JSON
{
  "hex": "#811272",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 308.108,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42146,
    "c": 0.17371,
    "h": 334.8
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#811272
secondary
#38B749
accent
#F24F36
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811272

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

Preview Lab → · Contrast checker → · Palette generator →

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