#811770#811770

#811770 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.168 H 335.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#811770
RGBrgb(129, 23, 112)
HSLhsl(310, 70%, 30%)
HSVhsv(310, 82%, 51%)
CMYKcmyk(0%, 82.2%, 13.2%, 49.4%)
CIE-LABlab(30.52, 52.27, -25.16)
CIE-LCHlch(30.52, 58.01, 334.30°)
OKLaboklab(42.34% 0.1534 -0.0687)
OKLCHoklch(42.34% 0.168 335.9)
XYZxyz(12.2845, 6.4509, 15.9243)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811770 #178128
analogous
#5D1781 #811770 #81173B
triadic
#811770 #708117 #177081
tetradic
#811770 #815D17 #178128 #173B81
square
#811770 #815D17 #178128 #173B81
split-complementary
#811770 #3B8117 #17815D
monochromatic
#1A0517 #4D0E43 #811770 #B5209D #DB37C1

Accessibility & contrast

On white

9.17
#811770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#811770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811770
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811770#FFFFFF#000000##FFFFFF
##8117701.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E72
Deuteranopia (green-blind)
#404D6E
Tritanopia (blue-blind)
#882043
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #811770;
/* rgb */ color: rgb(129, 23, 112);
/* oklch */ color: oklch(42.3% 0.168 335.9);
Tailwind
colors: {
  custom: {
    50: '#a96299',
    500: '#811770',
    950: '#000000',
  },
}
SCSS
$custom: #811770;
$custom-light: #a96299;
$custom-dark: #000000;
JSON
{
  "hex": "#811770",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 112
  },
  "hsl": {
    "h": 309.623,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42344,
    "c": 0.16808,
    "h": 335.9
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#811770
secondary
#3EB551
accent
#ED583B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811770

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

Preview Lab → · Contrast checker → · Palette generator →

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