#811874#811874

#811874 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.170 H 334.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#811874
RGBrgb(129, 24, 116)
HSLhsl(307, 69%, 30%)
HSVhsv(307, 81%, 51%)
CMYKcmyk(0%, 81.4%, 10.1%, 49.4%)
CIE-LABlab(30.84, 52.61, -27.22)
CIE-LCHlch(30.84, 59.23, 332.65°)
OKLaboklab(42.64% 0.1528 -0.0746)
OKLCHoklch(42.64% 0.17 334)
XYZxyz(12.5324, 6.5825, 17.1301)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811874 #188125
analogous
#5A1881 #811874 #81183F
triadic
#811874 #748118 #187481
tetradic
#811874 #815A18 #188125 #183F81
square
#811874 #815A18 #188125 #183F81
split-complementary
#811874 #3F8118 #18815A
monochromatic
#1A0517 #4D0E46 #811874 #B522A2 #DA39C6

Accessibility & contrast

On white

9.07
#811874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#811874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811874
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811874#FFFFFF#000000##FFFFFF
##8118741.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153F76
Deuteranopia (green-blind)
#3E4E72
Tritanopia (blue-blind)
#872346
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811874;
/* rgb */ color: rgb(129, 24, 116);
/* oklch */ color: oklch(42.6% 0.170 334.0);
Tailwind
colors: {
  custom: {
    50: '#a9639c',
    500: '#811874',
    950: '#000000',
  },
}
SCSS
$custom: #811874;
$custom-light: #a9639c;
$custom-dark: #000000;
JSON
{
  "hex": "#811874",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 307.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.4264,
    "c": 0.17003,
    "h": 334
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#811874
secondary
#40B54E
accent
#EB523C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811874

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

Preview Lab → · Contrast checker → · Palette generator →

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