#812482#812482

#812482 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.168 H 327.5°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#812482
RGBrgb(129, 36, 130)
HSLhsl(299, 57%, 33%)
HSVhsv(299, 72%, 51%)
CMYKcmyk(0.8%, 72.3%, 0%, 49%)
CIE-LABlab(33.01, 51.00, -32.59)
CIE-LCHlch(33.01, 60.52, 327.42°)
OKLaboklab(44.45% 0.1417 -0.0903)
OKLCHoklch(44.45% 0.168 327.5)
XYZxyz(13.7132, 7.5415, 21.8482)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812482 #258224
analogous
#522482 #812482 #822454
triadic
#812482 #828124 #248281
tetradic
#812482 #825224 #258224 #245482
square
#812482 #825224 #258224 #245482
split-complementary
#812482 #548224 #248252
monochromatic
#220922 #511752 #812482 #B131B2 #CE51CF

Accessibility & contrast

On white

8.37
#812482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#812482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812482
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812482#FFFFFF#000000##FFFFFF
##8124821.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124685
Deuteranopia (green-blind)
#3C5280
Tritanopia (blue-blind)
#853250
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #812482;
/* rgb */ color: rgb(129, 36, 130);
/* oklch */ color: oklch(44.5% 0.168 327.5);
Tailwind
colors: {
  custom: {
    50: '#a968a7',
    500: '#812482',
    950: '#000000',
  },
}
SCSS
$custom: #812482;
$custom-light: #a968a7;
$custom-dark: #000000;
JSON
{
  "hex": "#812482",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 299.362,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44453,
    "c": 0.16807,
    "h": 327.5
  },
  "luminance": 0.07541
}

Semantic roles & 50–950 ramp

primary
#812482
secondary
#50B34F
accent
#E0484A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #812482

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

Preview Lab → · Contrast checker → · Palette generator →

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