#812374#812374

#812374 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.158 H 334.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#812374
RGBrgb(129, 35, 116)
HSLhsl(308, 57%, 32%)
HSVhsv(308, 73%, 51%)
CMYKcmyk(0%, 72.9%, 10.1%, 49.4%)
CIE-LABlab(32.10, 48.99, -25.22)
CIE-LCHlch(32.10, 55.10, 332.76°)
OKLaboklab(43.55% 0.1421 -0.069)
OKLCHoklch(43.55% 0.158 334.1)
XYZxyz(12.8068, 7.1312, 17.2216)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812374 #238130
analogous
#5F2381 #812374 #812345
triadic
#812374 #748123 #237481
tetradic
#812374 #815F23 #238130 #234581
square
#812374 #815F23 #238130 #234581
split-complementary
#812374 #458123 #23815F
monochromatic
#21091D #511649 #812374 #B1309F #CF4FBE

Accessibility & contrast

On white

8.66
#812374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#812374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812374
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812374#FFFFFF#000000##FFFFFF
##8123741.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214376
Deuteranopia (green-blind)
#425072
Tritanopia (blue-blind)
#872B49
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #812374;
/* rgb */ color: rgb(129, 35, 116);
/* oklch */ color: oklch(43.5% 0.158 334.1);
Tailwind
colors: {
  custom: {
    50: '#a9679c',
    500: '#812374',
    950: '#000000',
  },
}
SCSS
$custom: #812374;
$custom-light: #a9679c;
$custom-dark: #000000;
JSON
{
  "hex": "#812374",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 308.298,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4355,
    "c": 0.158,
    "h": 334.1
  },
  "luminance": 0.0713
}

Semantic roles & 50–950 ramp

primary
#812374
secondary
#4DB35B
accent
#E15C47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812374

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

Preview Lab → · Contrast checker → · Palette generator →

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