#812388#812388

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

Color values

HEX#812388
RGBrgb(129, 35, 136)
HSLhsl(296, 59%, 34%)
HSVhsv(296, 74%, 53%)
CMYKcmyk(5.1%, 74.3%, 0%, 46.7%)
CIE-LABlab(33.24, 52.44, -35.96)
CIE-LCHlch(33.24, 63.58, 325.56°)
OKLaboklab(44.73% 0.1427 -0.1001)
OKLCHoklch(44.73% 0.174 325)
XYZxyz(14.0979, 7.6477, 24.0214)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812388 #2A8823
analogous
#4E2388 #812388 #88235C
triadic
#812388 #888123 #238881
tetradic
#812388 #884E23 #2A8823 #235C88
square
#812388 #884E23 #2A8823 #235C88
split-complementary
#812388 #5C8823 #23884E
monochromatic
#250A27 #531657 #812388 #AF30B9 #CA53D3

Accessibility & contrast

On white

8.30
#812388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#812388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812388
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812388#FFFFFF#000000##FFFFFF
##8123881.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812388;
/* rgb */ color: rgb(129, 35, 136);
/* oklch */ color: oklch(44.7% 0.174 325.0);
Tailwind
colors: {
  custom: {
    50: '#a968ab',
    500: '#812388',
    950: '#000000',
  },
}
SCSS
$custom: #812388;
$custom-light: #a968ab;
$custom-dark: #000000;
JSON
{
  "hex": "#812388",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 295.842,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44732,
    "c": 0.1743,
    "h": 325
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#812388
secondary
#57B750
accent
#E24650
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812388

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

Preview Lab → · Contrast checker → · Palette generator →

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