#811273#811273

#811273 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.174 H 334.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#811273
RGBrgb(129, 18, 115)
HSLhsl(308, 76%, 29%)
HSVhsv(308, 86%, 51%)
CMYKcmyk(0%, 86%, 10.9%, 49.4%)
CIE-LABlab(30.25, 53.99, -27.50)
CIE-LCHlch(30.25, 60.59, 333.00°)
OKLaboklab(42.2% 0.1573 -0.0754)
OKLCHoklch(42.2% 0.174 334.4)
XYZxyz(12.3642, 6.3387, 16.7886)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811273 #128120
analogous
#581281 #811273 #81123C
triadic
#811273 #738112 #127381
tetradic
#811273 #815812 #128120 #123C81
square
#811273 #815812 #128120 #123C81
split-complementary
#811273 #3C8112 #128158
monochromatic
#1B0418 #4B0B43 #811273 #B719A3 #E22CCB

Accessibility & contrast

On white

9.26
#811273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#811273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811273
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811273#FFFFFF#000000##FFFFFF
##8112731.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D75
Deuteranopia (green-blind)
#3D4D71
Tritanopia (blue-blind)
#881F44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #811273;
/* rgb */ color: rgb(129, 18, 115);
/* oklch */ color: oklch(42.2% 0.174 334.4);
Tailwind
colors: {
  custom: {
    50: '#a9619b',
    500: '#811273',
    950: '#000000',
  },
}
SCSS
$custom: #811273;
$custom-light: #a9619b;
$custom-dark: #000000;
JSON
{
  "hex": "#811273",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 307.568,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42204,
    "c": 0.17442,
    "h": 334.4
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#811273
secondary
#38B748
accent
#F24D36
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811273

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

Preview Lab → · Contrast checker → · Palette generator →

#811273 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva