#812480#812480

#812480 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.166 H 328.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#812480
RGBrgb(129, 36, 128)
HSLhsl(301, 56%, 32%)
HSVhsv(301, 72%, 51%)
CMYKcmyk(0%, 72.1%, 0.8%, 49.4%)
CIE-LABlab(32.89, 50.64, -31.52)
CIE-LCHlch(32.89, 59.65, 328.10°)
OKLaboklab(44.33% 0.1417 -0.0872)
OKLCHoklch(44.33% 0.166 328.4)
XYZxyz(13.5803, 7.4884, 21.1480)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812480 #248125
analogous
#532481 #812480 #812452
triadic
#812480 #808124 #248081
tetradic
#812480 #815324 #248125 #245281
square
#812480 #815324 #248125 #245281
split-complementary
#812480 #528124 #248153
monochromatic
#210921 #511751 #812480 #B131AF #CE51CD

Accessibility & contrast

On white

8.41
#812480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#812480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812480
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812480#FFFFFF#000000##FFFFFF
##8124801.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164683
Deuteranopia (green-blind)
#3D527E
Tritanopia (blue-blind)
#85314F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812480;
/* rgb */ color: rgb(129, 36, 128);
/* oklch */ color: oklch(44.3% 0.166 328.4);
Tailwind
colors: {
  custom: {
    50: '#a968a5',
    500: '#812480',
    950: '#000000',
  },
}
SCSS
$custom: #812480;
$custom-light: #a968a5;
$custom-dark: #000000;
JSON
{
  "hex": "#812480",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 128
  },
  "hsl": {
    "h": 300.645,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.1664,
    "h": 328.4
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#812480
secondary
#4EB250
accent
#E04A48
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #812480

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

Preview Lab → · Contrast checker → · Palette generator →

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