#811F79#811F79

#811F79 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.167 H 331.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#811F79
RGBrgb(129, 31, 121)
HSLhsl(305, 61%, 31%)
HSVhsv(305, 76%, 51%)
CMYKcmyk(0%, 76%, 6.2%, 49.4%)
CIE-LABlab(31.87, 51.23, -28.75)
CIE-LCHlch(31.87, 58.75, 330.70°)
OKLaboklab(43.47% 0.1466 -0.0791)
OKLCHoklch(43.47% 0.167 331.6)
XYZxyz(12.9944, 7.0286, 18.7577)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811F79 #1F8127
analogous
#581F81 #811F79 #811F48
triadic
#811F79 #79811F #1F7981
tetradic
#811F79 #81581F #1F8127 #1F4881
square
#811F79 #81581F #1F8127 #1F4881
split-complementary
#811F79 #48811F #1F8158
monochromatic
#1E071C #50134B #811F79 #B22BA7 #D347C8

Accessibility & contrast

On white

8.73
#811F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#811F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811F79
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811F79#FFFFFF#000000##FFFFFF
##811F791.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427B
Deuteranopia (green-blind)
#3E5077
Tritanopia (blue-blind)
#872B4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811f79;
/* rgb */ color: rgb(129, 31, 121);
/* oklch */ color: oklch(43.5% 0.167 331.6);
Tailwind
colors: {
  custom: {
    50: '#a966a0',
    500: '#811f79',
    950: '#000000',
  },
}
SCSS
$custom: #811f79;
$custom-light: #a966a0;
$custom-dark: #000000;
JSON
{
  "hex": "#811f79",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 304.898,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43471,
    "c": 0.16661,
    "h": 331.6
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#811F79
secondary
#48B451
accent
#E45143
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811F79

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

Preview Lab → · Contrast checker → · Palette generator →

#811F79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva