#812288#812288

#812288 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.175 H 325.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#812288
RGBrgb(129, 34, 136)
HSLhsl(296, 60%, 33%)
HSVhsv(296, 75%, 53%)
CMYKcmyk(5.1%, 75%, 0%, 46.7%)
CIE-LABlab(33.11, 52.80, -36.15)
CIE-LCHlch(33.11, 63.99, 325.60°)
OKLaboklab(44.64% 0.1437 -0.1007)
OKLCHoklch(44.64% 0.175 325)
XYZxyz(14.0689, 7.5897, 24.0117)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812288 #298822
analogous
#4E2288 #812288 #88225C
triadic
#812288 #888122 #228881
tetradic
#812288 #884E22 #298822 #225C88
square
#812288 #884E22 #298822 #225C88
split-complementary
#812288 #5C8822 #22884E
monochromatic
#240A26 #531657 #812288 #AF2EB9 #CB51D3

Accessibility & contrast

On white

8.34
#812288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#812288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812288
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812288#FFFFFF#000000##FFFFFF
##8122881.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478B
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#843453
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #812288;
/* rgb */ color: rgb(129, 34, 136);
/* oklch */ color: oklch(44.6% 0.175 325.0);
Tailwind
colors: {
  custom: {
    50: '#a968ab',
    500: '#812288',
    950: '#000000',
  },
}
SCSS
$custom: #812288;
$custom-light: #a968ab;
$custom-dark: #000000;
JSON
{
  "hex": "#812288",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 295.882,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44643,
    "c": 0.17543,
    "h": 325
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#812288
secondary
#56B74F
accent
#E34550
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812288

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

Preview Lab → · Contrast checker → · Palette generator →

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