#811875#811875

#811875 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.171 H 333.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#811875
RGBrgb(129, 24, 117)
HSLhsl(307, 69%, 30%)
HSVhsv(307, 81%, 51%)
CMYKcmyk(0%, 81.4%, 9.3%, 49.4%)
CIE-LABlab(30.89, 52.76, -27.76)
CIE-LCHlch(30.89, 59.62, 332.25°)
OKLaboklab(42.7% 0.1528 -0.0762)
OKLCHoklch(42.7% 0.171 333.5)
XYZxyz(12.5909, 6.6059, 17.4381)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811875 #188124
analogous
#581881 #811875 #811841
triadic
#811875 #758118 #187581
tetradic
#811875 #815818 #188124 #184181
square
#811875 #815818 #188124 #184181
split-complementary
#811875 #418118 #188158
monochromatic
#1A0517 #4D0E46 #811875 #B522A4 #DA39C8

Accessibility & contrast

On white

9.05
#811875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811875
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811875#FFFFFF#000000##FFFFFF
##8118751.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133F77
Deuteranopia (green-blind)
#3E4E73
Tritanopia (blue-blind)
#872446
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811875;
/* rgb */ color: rgb(129, 24, 117);
/* oklch */ color: oklch(42.7% 0.171 333.5);
Tailwind
colors: {
  custom: {
    50: '#a9639d',
    500: '#811875',
    950: '#000000',
  },
}
SCSS
$custom: #811875;
$custom-light: #a9639d;
$custom-dark: #000000;
JSON
{
  "hex": "#811875",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 306.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.42697,
    "c": 0.17077,
    "h": 333.5
  },
  "luminance": 0.06605
}

Semantic roles & 50–950 ramp

primary
#811875
secondary
#40B54D
accent
#EB503C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811875

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

Preview Lab → · Contrast checker → · Palette generator →

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