#812673#812673

#812673 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.153 H 334.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#812673
RGBrgb(129, 38, 115)
HSLhsl(309, 54%, 33%)
HSVhsv(309, 71%, 51%)
CMYKcmyk(0%, 70.5%, 10.9%, 49.4%)
CIE-LABlab(32.46, 47.67, -24.03)
CIE-LCHlch(32.46, 53.38, 333.25°)
OKLaboklab(43.79% 0.1386 -0.0656)
OKLCHoklch(43.79% 0.153 334.7)
XYZxyz(12.8410, 7.2922, 16.9476)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812673 #268134
analogous
#622681 #812673 #812645
triadic
#812673 #738126 #267381
tetradic
#812673 #816226 #268134 #264581
square
#812673 #816226 #268134 #264581
split-complementary
#812673 #458126 #268162
monochromatic
#220A1F #521849 #812673 #B0349D #CD55BA

Accessibility & contrast

On white

8.54
#812673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#812673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812673
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812673#FFFFFF#000000##FFFFFF
##8126731.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254475
Deuteranopia (green-blind)
#445171
Tritanopia (blue-blind)
#872D49
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #812673;
/* rgb */ color: rgb(129, 38, 115);
/* oklch */ color: oklch(43.8% 0.153 334.7);
Tailwind
colors: {
  custom: {
    50: '#a9699b',
    500: '#812673',
    950: '#000000',
  },
}
SCSS
$custom: #812673;
$custom-light: #a9699b;
$custom-dark: #000000;
JSON
{
  "hex": "#812673",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 309.231,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43794,
    "c": 0.15336,
    "h": 334.7
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#812673
secondary
#51B160
accent
#DE614A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812673

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

Preview Lab → · Contrast checker → · Palette generator →

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