#812382#812382

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

Color values

HEX#812382
RGBrgb(129, 35, 130)
HSLhsl(299, 58%, 32%)
HSVhsv(299, 73%, 51%)
CMYKcmyk(0.8%, 73.1%, 0%, 49%)
CIE-LABlab(32.88, 51.36, -32.80)
CIE-LCHlch(32.88, 60.94, 327.44°)
OKLaboklab(44.36% 0.1428 -0.0909)
OKLCHoklch(44.36% 0.169 327.5)
XYZxyz(13.6834, 7.4819, 21.8382)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812382 #248223
analogous
#512382 #812382 #822354
triadic
#812382 #828123 #238281
tetradic
#812382 #825123 #248223 #235482
square
#812382 #825123 #248223 #235482
split-complementary
#812382 #548223 #238251
monochromatic
#210922 #511652 #812382 #B130B2 #CE50D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##812382#FFFFFF#000000##FFFFFF
##8123821.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)
#104685
Deuteranopia (green-blind)
#3B5280
Tritanopia (blue-blind)
#853250
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812382;
/* rgb */ color: rgb(129, 35, 130);
/* oklch */ color: oklch(44.4% 0.169 327.5);
Tailwind
colors: {
  custom: {
    50: '#a968a7',
    500: '#812382',
    950: '#000000',
  },
}
SCSS
$custom: #812382;
$custom-light: #a968a7;
$custom-dark: #000000;
JSON
{
  "hex": "#812382",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 299.368,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4436,
    "c": 0.16926,
    "h": 327.5
  },
  "luminance": 0.07481
}

Semantic roles & 50–950 ramp

primary
#812382
secondary
#4EB34D
accent
#E14749
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #812382

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

Preview Lab → · Contrast checker → · Palette generator →

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