#811780#811780

#811780 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.180 H 328.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#811780
RGBrgb(129, 23, 128)
HSLhsl(301, 70%, 30%)
HSVhsv(301, 82%, 51%)
CMYKcmyk(0%, 82.2%, 0.8%, 49.4%)
CIE-LABlab(31.44, 54.82, -33.84)
CIE-LCHlch(31.44, 64.42, 328.31°)
OKLaboklab(43.29% 0.1536 -0.0938)
OKLCHoklch(43.29% 0.18 328.6)
XYZxyz(13.2558, 6.8395, 21.0399)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811780 #178118
analogous
#4D1781 #811780 #81174B
triadic
#811780 #808117 #178081
tetradic
#811780 #814D17 #178118 #174B81
square
#811780 #814D17 #178118 #174B81
split-complementary
#811780 #4B8117 #17814D
monochromatic
#1A051A #4D0E4C #811780 #B520B4 #DB37DA

Accessibility & contrast

On white

8.87
#811780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#811780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811780
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811780#FFFFFF#000000##FFFFFF
##8117801.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#374F7E
Tritanopia (blue-blind)
#85294C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #811780;
/* rgb */ color: rgb(129, 23, 128);
/* oklch */ color: oklch(43.3% 0.180 328.6);
Tailwind
colors: {
  custom: {
    50: '#a963a5',
    500: '#811780',
    950: '#000000',
  },
}
SCSS
$custom: #811780;
$custom-light: #a963a5;
$custom-dark: #000000;
JSON
{
  "hex": "#811780",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 300.566,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.43293,
    "c": 0.17997,
    "h": 328.6
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#811780
secondary
#3EB540
accent
#ED3D3B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #811780

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

Preview Lab → · Contrast checker → · Palette generator →

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