#811270#811270

#811270 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.172 H 335.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#811270
RGBrgb(129, 18, 112)
HSLhsl(309, 76%, 29%)
HSVhsv(309, 86%, 51%)
CMYKcmyk(0%, 86%, 13.2%, 49.4%)
CIE-LABlab(30.09, 53.53, -25.85)
CIE-LCHlch(30.09, 59.45, 334.23°)
OKLaboklab(42.03% 0.1572 -0.0707)
OKLCHoklch(42.03% 0.172 335.8)
XYZxyz(12.1944, 6.2708, 15.8942)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811270 #128123
analogous
#5B1281 #811270 #811239
triadic
#811270 #708112 #127081
tetradic
#811270 #815B12 #128123 #123981
square
#811270 #815B12 #128123 #123981
split-complementary
#811270 #398112 #12815B
monochromatic
#1B0417 #4B0B41 #811270 #B7199F #E22CC6

Accessibility & contrast

On white

9.32
#811270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#811270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811270
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811270#FFFFFF#000000##FFFFFF
##8112701.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133D72
Deuteranopia (green-blind)
#3E4C6E
Tritanopia (blue-blind)
#881D42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #811270;
/* rgb */ color: rgb(129, 18, 112);
/* oklch */ color: oklch(42.0% 0.172 335.8);
Tailwind
colors: {
  custom: {
    50: '#a96199',
    500: '#811270',
    950: '#000000',
  },
}
SCSS
$custom: #811270;
$custom-light: #a96199;
$custom-dark: #000000;
JSON
{
  "hex": "#811270",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 309.189,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42032,
    "c": 0.17231,
    "h": 335.8
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#811270
secondary
#38B74C
accent
#F25336
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811270

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

Preview Lab → · Contrast checker → · Palette generator →

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