#81309E#81309E

#81309E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.178 H 315.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#81309E
RGBrgb(129, 48, 158)
HSLhsl(284, 53%, 40%)
HSVhsv(284, 70%, 62%)
CMYKcmyk(18.4%, 69.6%, 0%, 38%)
CIE-LABlab(36.46, 51.55, -44.26)
CIE-LCHlch(36.46, 67.94, 319.36°)
OKLaboklab(47.48% 0.1277 -0.1244)
OKLCHoklch(47.48% 0.178 315.7)
XYZxyz(16.2808, 9.2503, 33.2690)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81309E #4D9E30
analogous
#4A309E #81309E #9E3084
triadic
#81309E #9E8130 #309E81
tetradic
#81309E #9E4A30 #4D9E30 #30849E
square
#81309E #9E4A30 #4D9E30 #30849E
split-complementary
#81309E #849E30 #309E4A
monochromatic
#341340 #5B226F #81309E #A445C6 #BB74D5

Accessibility & contrast

On white

7.37
#81309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#81309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81309E
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81309E#FFFFFF#000000##FFFFFF
##81309E1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#2F589B
Tritanopia (blue-blind)
#7F4663
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #81309e;
/* rgb */ color: rgb(129, 48, 158);
/* oklch */ color: oklch(47.5% 0.178 315.7);
Tailwind
colors: {
  custom: {
    50: '#a96fbb',
    500: '#81309e',
    950: '#000000',
  },
}
SCSS
$custom: #81309e;
$custom-light: #a96fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#81309e",
  "rgb": {
    "r": 129,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 284.182,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47483,
    "c": 0.17829,
    "h": 315.7
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#81309E
secondary
#82BD6D
accent
#DD4B71
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #81309E

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

Preview Lab → · Contrast checker → · Palette generator →

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