#812384#812384

#812384 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.171 H 326.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#812384
RGBrgb(129, 35, 132)
HSLhsl(298, 58%, 33%)
HSVhsv(298, 73%, 52%)
CMYKcmyk(2.3%, 73.5%, 0%, 48.2%)
CIE-LABlab(33.00, 51.72, -33.85)
CIE-LCHlch(33.00, 61.81, 326.79°)
OKLaboklab(44.48% 0.1428 -0.094)
OKLCHoklch(44.48% 0.171 326.6)
XYZxyz(13.8189, 7.5361, 22.5521)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812384 #268423
analogous
#502384 #812384 #842357
triadic
#812384 #848123 #238481
tetradic
#812384 #845023 #268423 #235784
square
#812384 #845023 #268423 #235784
split-complementary
#812384 #578423 #238450
monochromatic
#220923 #521654 #812384 #B030B4 #CD51D1

Accessibility & contrast

On white

8.38
#812384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#812384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812384
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812384#FFFFFF#000000##FFFFFF
##8123841.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4687
Deuteranopia (green-blind)
#3A5282
Tritanopia (blue-blind)
#853251
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #812384;
/* rgb */ color: rgb(129, 35, 132);
/* oklch */ color: oklch(44.5% 0.171 326.6);
Tailwind
colors: {
  custom: {
    50: '#a968a8',
    500: '#812384',
    950: '#000000',
  },
}
SCSS
$custom: #812384;
$custom-light: #a968a8;
$custom-dark: #000000;
JSON
{
  "hex": "#812384",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 298.144,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44482,
    "c": 0.17093,
    "h": 326.6
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#812384
secondary
#51B44E
accent
#E1464B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812384

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

Preview Lab → · Contrast checker → · Palette generator →

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