#81309D#81309D

#81309D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.177 H 316.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#81309D
RGBrgb(129, 48, 157)
HSLhsl(285, 53%, 40%)
HSVhsv(285, 69%, 62%)
CMYKcmyk(17.8%, 69.4%, 0%, 38.4%)
CIE-LABlab(36.40, 51.35, -43.76)
CIE-LCHlch(36.40, 67.46, 319.56°)
OKLaboklab(47.42% 0.1278 -0.123)
OKLCHoklch(47.42% 0.177 316.1)
XYZxyz(16.1951, 9.2160, 32.8175)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81309D #4C9D30
analogous
#4A309D #81309D #9D3083
triadic
#81309D #9D8130 #309D81
tetradic
#81309D #9D4A30 #4C9D30 #30839D
square
#81309D #9D4A30 #4C9D30 #30839D
split-complementary
#81309D #839D30 #309D4A
monochromatic
#34133F #5A226E #81309D #A544C6 #BB73D4

Accessibility & contrast

On white

7.39
#81309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#81309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81309D
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81309D#FFFFFF#000000##FFFFFF
##81309D1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#30589A
Tritanopia (blue-blind)
#7F4563
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #81309d;
/* rgb */ color: rgb(129, 48, 157);
/* oklch */ color: oklch(47.4% 0.177 316.1);
Tailwind
colors: {
  custom: {
    50: '#a96fba',
    500: '#81309d',
    950: '#000000',
  },
}
SCSS
$custom: #81309d;
$custom-light: #a96fba;
$custom-dark: #000000;
JSON
{
  "hex": "#81309d",
  "rgb": {
    "r": 129,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 284.587,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47416,
    "c": 0.17732,
    "h": 316.1
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#81309D
secondary
#81BC6D
accent
#DD4B71
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #81309D

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

Preview Lab → · Contrast checker → · Palette generator →

#81309D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva