#81267F#81267F

#81267F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.163 H 328.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#81267F
RGBrgb(129, 38, 127)
HSLhsl(301, 54%, 33%)
HSVhsv(301, 71%, 51%)
CMYKcmyk(0%, 70.5%, 1.6%, 49.4%)
CIE-LABlab(33.11, 49.70, -30.56)
CIE-LCHlch(33.11, 58.35, 328.41°)
OKLaboklab(44.47% 0.1395 -0.0844)
OKLCHoklch(44.47% 0.163 328.8)
XYZxyz(13.5770, 7.5866, 20.8238)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81267F #268128
analogous
#562681 #81267F #812651
triadic
#81267F #7F8126 #267F81
tetradic
#81267F #815626 #268128 #265181
square
#81267F #815626 #268128 #265181
split-complementary
#81267F #518126 #268156
monochromatic
#220A22 #521850 #81267F #B034AE #CD55CA

Accessibility & contrast

On white

8.34
#81267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#81267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81267F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81267F#FFFFFF#000000##FFFFFF
##81267F1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4682
Deuteranopia (green-blind)
#3F527D
Tritanopia (blue-blind)
#85324F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #81267f;
/* rgb */ color: rgb(129, 38, 127);
/* oklch */ color: oklch(44.5% 0.163 328.8);
Tailwind
colors: {
  custom: {
    50: '#a969a4',
    500: '#81267f',
    950: '#000000',
  },
}
SCSS
$custom: #81267f;
$custom-light: #a969a4;
$custom-dark: #000000;
JSON
{
  "hex": "#81267f",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 301.319,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44467,
    "c": 0.16308,
    "h": 328.8
  },
  "luminance": 0.07586
}

Semantic roles & 50–950 ramp

primary
#81267F
secondary
#51B154
accent
#DE4D4A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #81267F

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

Preview Lab → · Contrast checker → · Palette generator →

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