#812372#812372

#812372 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.156 H 335.1°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#812372
RGBrgb(129, 35, 114)
HSLhsl(310, 57%, 32%)
HSVhsv(310, 73%, 51%)
CMYKcmyk(0%, 72.9%, 11.6%, 49.4%)
CIE-LABlab(32.00, 48.67, -24.12)
CIE-LCHlch(32.00, 54.31, 333.64°)
OKLaboklab(43.44% 0.1419 -0.0658)
OKLCHoklch(43.44% 0.156 335.1)
XYZxyz(12.6917, 7.0852, 16.6155)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812372 #238132
analogous
#612381 #812372 #812343
triadic
#812372 #728123 #237281
tetradic
#812372 #816123 #238132 #234381
square
#812372 #816123 #238132 #234381
split-complementary
#812372 #438123 #238161
monochromatic
#21091D #511647 #812372 #B1309D #CF4FBB

Accessibility & contrast

On white

8.69
#812372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#812372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812372
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812372#FFFFFF#000000##FFFFFF
##8123721.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234274
Deuteranopia (green-blind)
#435070
Tritanopia (blue-blind)
#882A47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #812372;
/* rgb */ color: rgb(129, 35, 114);
/* oklch */ color: oklch(43.4% 0.156 335.1);
Tailwind
colors: {
  custom: {
    50: '#a9679b',
    500: '#812372',
    950: '#000000',
  },
}
SCSS
$custom: #812372;
$custom-light: #a9679b;
$custom-dark: #000000;
JSON
{
  "hex": "#812372",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 309.574,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43442,
    "c": 0.15646,
    "h": 335.1
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#812372
secondary
#4DB35D
accent
#E16047
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #812372

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

Preview Lab → · Contrast checker → · Palette generator →

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