#81297D#81297D

#81297D is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.157 H 329.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#81297D
RGBrgb(129, 41, 125)
HSLhsl(303, 52%, 33%)
HSVhsv(303, 68%, 51%)
CMYKcmyk(0%, 68.2%, 3.1%, 49.4%)
CIE-LABlab(33.42, 48.15, -28.81)
CIE-LCHlch(33.42, 56.11, 329.11°)
OKLaboklab(44.66% 0.136 -0.0794)
OKLCHoklch(44.66% 0.157 329.7)
XYZxyz(13.5478, 7.7347, 20.1774)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81297D #29812D
analogous
#592981 #81297D #812951
triadic
#81297D #7D8129 #297D81
tetradic
#81297D #815929 #29812D #295181
square
#81297D #815929 #29812D #295181
split-complementary
#81297D #518129 #298159
monochromatic
#240B23 #531A50 #81297D #AF38AA #CB5AC5

Accessibility & contrast

On white

8.25
#81297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#81297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81297D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81297D#FFFFFF#000000##FFFFFF
##81297D1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20477F
Deuteranopia (green-blind)
#41537B
Tritanopia (blue-blind)
#86334F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #81297d;
/* rgb */ color: rgb(129, 41, 125);
/* oklch */ color: oklch(44.7% 0.157 329.7);
Tailwind
colors: {
  custom: {
    50: '#a86aa3',
    500: '#81297d',
    950: '#000000',
  },
}
SCSS
$custom: #81297d;
$custom-light: #a86aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#81297d",
  "rgb": {
    "r": 129,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 302.727,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44661,
    "c": 0.15746,
    "h": 329.7
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#81297D
secondary
#56B05A
accent
#DB534D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #81297D

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

Preview Lab → · Contrast checker → · Palette generator →

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