#812475#812475

#812475 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.158 H 333.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#812475
RGBrgb(129, 36, 117)
HSLhsl(308, 56%, 32%)
HSVhsv(308, 72%, 51%)
CMYKcmyk(0%, 72.1%, 9.3%, 49.4%)
CIE-LABlab(32.29, 48.77, -25.56)
CIE-LCHlch(32.29, 55.07, 332.34°)
OKLaboklab(43.7% 0.1411 -0.07)
OKLCHoklch(43.7% 0.158 333.6)
XYZxyz(12.8951, 7.2143, 17.5395)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812475 #248130
analogous
#5F2481 #812475 #812446
triadic
#812475 #758124 #247581
tetradic
#812475 #815F24 #248130 #244681
square
#812475 #815F24 #248130 #244681
split-complementary
#812475 #468124 #24815F
monochromatic
#21091E #51174A #812475 #B131A0 #CE51BE

Accessibility & contrast

On white

8.60
#812475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812475
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812475#FFFFFF#000000##FFFFFF
##8124751.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812475;
/* rgb */ color: rgb(129, 36, 117);
/* oklch */ color: oklch(43.7% 0.158 333.6);
Tailwind
colors: {
  custom: {
    50: '#a9689d',
    500: '#812475',
    950: '#000000',
  },
}
SCSS
$custom: #812475;
$custom-light: #a9689d;
$custom-dark: #000000;
JSON
{
  "hex": "#812475",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 117
  },
  "hsl": {
    "h": 307.742,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43702,
    "c": 0.15751,
    "h": 333.6
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#812475
secondary
#4EB25B
accent
#E05C48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812475

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

Preview Lab → · Contrast checker → · Palette generator →

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