#812684#812684

#812684 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.167 H 326.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#812684
RGBrgb(129, 38, 132)
HSLhsl(298, 55%, 33%)
HSVhsv(298, 71%, 52%)
CMYKcmyk(2.3%, 71.2%, 0%, 48.2%)
CIE-LABlab(33.39, 50.60, -33.23)
CIE-LCHlch(33.39, 60.53, 326.71°)
OKLaboklab(44.77% 0.1396 -0.0922)
OKLCHoklch(44.77% 0.167 326.6)
XYZxyz(13.9110, 7.7202, 22.5828)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812684 #298426
analogous
#522684 #812684 #842658
triadic
#812684 #848126 #268481
tetradic
#812684 #845226 #298426 #265884
square
#812684 #845226 #298426 #265884
split-complementary
#812684 #588426 #268452
monochromatic
#240B25 #531854 #812684 #AF34B4 #CB56CE

Accessibility & contrast

On white

8.26
#812684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#812684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812684
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812684#FFFFFF#000000##FFFFFF
##8126841.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134787
Deuteranopia (green-blind)
#3C5382
Tritanopia (blue-blind)
#853452
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #812684;
/* rgb */ color: rgb(129, 38, 132);
/* oklch */ color: oklch(44.8% 0.167 326.6);
Tailwind
colors: {
  custom: {
    50: '#a969a8',
    500: '#812684',
    950: '#000000',
  },
}
SCSS
$custom: #812684;
$custom-light: #a969a8;
$custom-dark: #000000;
JSON
{
  "hex": "#812684",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 298.085,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44766,
    "c": 0.1673,
    "h": 326.6
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#812684
secondary
#56B353
accent
#DF494E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812684

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

Preview Lab → · Contrast checker → · Palette generator →

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