#812474#812474

#812474 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.157 H 334.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#812474
RGBrgb(129, 36, 116)
HSLhsl(308, 56%, 32%)
HSVhsv(308, 72%, 51%)
CMYKcmyk(0%, 72.1%, 10.1%, 49.4%)
CIE-LABlab(32.24, 48.61, -25.01)
CIE-LCHlch(32.24, 54.67, 332.77°)
OKLaboklab(43.65% 0.141 -0.0684)
OKLCHoklch(43.65% 0.157 334.1)
XYZxyz(12.8366, 7.1909, 17.2315)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812474 #248131
analogous
#602481 #812474 #812446
triadic
#812474 #748124 #247481
tetradic
#812474 #816024 #248131 #244681
square
#812474 #816024 #248131 #244681
split-complementary
#812474 #468124 #248160
monochromatic
#21091E #511749 #812474 #B1319F #CE51BD

Accessibility & contrast

On white

8.61
#812474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#812474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812474
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812474#FFFFFF#000000##FFFFFF
##8124741.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#435172
Tritanopia (blue-blind)
#872C49
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #812474;
/* rgb */ color: rgb(129, 36, 116);
/* oklch */ color: oklch(43.6% 0.157 334.1);
Tailwind
colors: {
  custom: {
    50: '#a9689c',
    500: '#812474',
    950: '#000000',
  },
}
SCSS
$custom: #812474;
$custom-light: #a9689c;
$custom-dark: #000000;
JSON
{
  "hex": "#812474",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 308.387,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43647,
    "c": 0.15674,
    "h": 334.1
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#812474
secondary
#4EB25C
accent
#E05D48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812474

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

Preview Lab → · Contrast checker → · Palette generator →

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