#81188F#81188F

#81188F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.191 H 322.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#81188F
RGBrgb(129, 24, 143)
HSLhsl(293, 71%, 33%)
HSVhsv(293, 83%, 56%)
CMYKcmyk(9.8%, 83.2%, 0%, 43.9%)
CIE-LABlab(32.49, 57.15, -41.48)
CIE-LCHlch(32.49, 70.62, 324.03°)
OKLaboklab(44.35% 0.1516 -0.1161)
OKLCHoklch(44.35% 0.191 322.5)
XYZxyz(14.3373, 7.3044, 26.6360)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81188F #268F18
analogous
#45188F #81188F #8F1861
triadic
#81188F #8F8118 #188F81
tetradic
#81188F #8F4518 #268F18 #18618F
square
#81188F #8F4518 #268F18 #18618F
split-complementary
#81188F #618F18 #188F45
monochromatic
#220626 #520F5B #81188F #B021C3 #CD42DF

Accessibility & contrast

On white

8.53
#81188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#81188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81188F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81188F#FFFFFF#000000##FFFFFF
##81188F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#833255
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #81188f;
/* rgb */ color: rgb(129, 24, 143);
/* oklch */ color: oklch(44.3% 0.191 322.5);
Tailwind
colors: {
  custom: {
    50: '#aa64b0',
    500: '#81188f',
    950: '#000000',
  },
}
SCSS
$custom: #81188f;
$custom-light: #aa64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#81188f",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 292.941,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44345,
    "c": 0.19095,
    "h": 322.5
  },
  "luminance": 0.07304
}

Semantic roles & 50–950 ramp

primary
#81188F
secondary
#51C043
accent
#EE3A4F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #81188F

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

Preview Lab → · Contrast checker → · Palette generator →

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