#812477#812477

#812477 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.159 H 332.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#812477
RGBrgb(129, 36, 119)
HSLhsl(306, 56%, 32%)
HSVhsv(306, 72%, 51%)
CMYKcmyk(0%, 72.1%, 7.8%, 49.4%)
CIE-LABlab(32.40, 49.11, -26.66)
CIE-LCHlch(32.40, 55.88, 331.50°)
OKLaboklab(43.81% 0.1413 -0.0732)
OKLCHoklch(43.81% 0.159 332.6)
XYZxyz(13.0140, 7.2618, 18.1654)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812477 #24812E
analogous
#5D2481 #812477 #812448
triadic
#812477 #778124 #247781
tetradic
#812477 #815D24 #24812E #244881
square
#812477 #815D24 #24812E #244881
split-complementary
#812477 #488124 #24815D
monochromatic
#21091F #51174B #812477 #B131A3 #CE51C1

Accessibility & contrast

On white

8.56
#812477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#812477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812477
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812477#FFFFFF#000000##FFFFFF
##8124771.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204479
Deuteranopia (green-blind)
#425175
Tritanopia (blue-blind)
#872D4A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #812477;
/* rgb */ color: rgb(129, 36, 119);
/* oklch */ color: oklch(43.8% 0.159 332.6);
Tailwind
colors: {
  custom: {
    50: '#a9689e',
    500: '#812477',
    950: '#000000',
  },
}
SCSS
$custom: #812477;
$custom-light: #a9689e;
$custom-dark: #000000;
JSON
{
  "hex": "#812477",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 306.452,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43813,
    "c": 0.15909,
    "h": 332.6
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#812477
secondary
#4EB259
accent
#E05848
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812477

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

Preview Lab → · Contrast checker → · Palette generator →

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