#812282#812282

#812282 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.170 H 327.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#812282
RGBrgb(129, 34, 130)
HSLhsl(299, 59%, 32%)
HSVhsv(299, 74%, 51%)
CMYKcmyk(0.8%, 73.8%, 0%, 49%)
CIE-LABlab(32.75, 51.72, -33.00)
CIE-LCHlch(32.75, 61.35, 327.47°)
OKLaboklab(44.27% 0.1438 -0.0915)
OKLCHoklch(44.27% 0.17 327.5)
XYZxyz(13.6544, 7.4239, 21.8285)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812282 #238222
analogous
#512282 #812282 #822253
triadic
#812282 #828122 #228281
tetradic
#812282 #825122 #238222 #225382
square
#812282 #825122 #238222 #225382
split-complementary
#812282 #538222 #228251
monochromatic
#210921 #511551 #812282 #B12FB3 #CF4ED1

Accessibility & contrast

On white

8.45
#812282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#812282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812282
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812282#FFFFFF#000000##FFFFFF
##8122821.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4585
Deuteranopia (green-blind)
#3B5180
Tritanopia (blue-blind)
#853150
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812282;
/* rgb */ color: rgb(129, 34, 130);
/* oklch */ color: oklch(44.3% 0.170 327.5);
Tailwind
colors: {
  custom: {
    50: '#a967a7',
    500: '#812282',
    950: '#000000',
  },
}
SCSS
$custom: #812282;
$custom-light: #a967a7;
$custom-dark: #000000;
JSON
{
  "hex": "#812282",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 299.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44269,
    "c": 0.17043,
    "h": 327.5
  },
  "luminance": 0.07423
}

Semantic roles & 50–950 ramp

primary
#812282
secondary
#4DB44C
accent
#E24648
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #812282

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

Preview Lab → · Contrast checker → · Palette generator →

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