#81146F#81146F

#81146F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.170 H 336.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#81146F
RGBrgb(129, 20, 111)
HSLhsl(310, 73%, 29%)
HSVhsv(310, 84%, 51%)
CMYKcmyk(0%, 84.5%, 14%, 49.4%)
CIE-LABlab(30.20, 52.91, -25.03)
CIE-LCHlch(30.20, 58.53, 334.68°)
OKLaboklab(42.09% 0.1557 -0.0683)
OKLCHoklch(42.09% 0.17 336.3)
XYZxyz(12.1729, 6.3163, 15.6139)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81146F #148126
analogous
#5D1481 #81146F #811439
triadic
#81146F #6F8114 #146F81
tetradic
#81146F #815D14 #148126 #143981
square
#81146F #815D14 #148126 #143981
split-complementary
#81146F #398114 #14815D
monochromatic
#1A0417 #4C0C41 #81146F #B61C9D #DF30C2

Accessibility & contrast

On white

9.28
#81146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#81146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81146F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81146F#FFFFFF#000000##FFFFFF
##81146F1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#3F4D6D
Tritanopia (blue-blind)
#881E42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #81146f;
/* rgb */ color: rgb(129, 20, 111);
/* oklch */ color: oklch(42.1% 0.170 336.3);
Tailwind
colors: {
  custom: {
    50: '#a96198',
    500: '#81146f',
    950: '#000000',
  },
}
SCSS
$custom: #81146f;
$custom-light: #a96198;
$custom-dark: #000000;
JSON
{
  "hex": "#81146f",
  "rgb": {
    "r": 129,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 309.908,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42094,
    "c": 0.17001,
    "h": 336.3
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#81146F
secondary
#3BB64F
accent
#F05638
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #81146F

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

Preview Lab → · Contrast checker → · Palette generator →

#81146F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva