#812378#812378

#812378 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.161 H 332.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#812378
RGBrgb(129, 35, 120)
HSLhsl(306, 57%, 32%)
HSVhsv(306, 73%, 51%)
CMYKcmyk(0%, 72.9%, 7%, 49.4%)
CIE-LABlab(32.32, 49.65, -27.42)
CIE-LCHlch(32.32, 56.71, 331.09°)
OKLaboklab(43.77% 0.1424 -0.0753)
OKLCHoklch(43.77% 0.161 332.1)
XYZxyz(13.0445, 7.2263, 18.4734)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812378 #23812C
analogous
#5B2381 #812378 #812349
triadic
#812378 #788123 #237881
tetradic
#812378 #815B23 #23812C #234981
square
#812378 #815B23 #23812C #234981
split-complementary
#812378 #498123 #23815B
monochromatic
#21091E #51164B #812378 #B130A5 #CF4FC3

Accessibility & contrast

On white

8.59
#812378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#812378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812378
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812378#FFFFFF#000000##FFFFFF
##8123781.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447A
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#872D4B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #812378;
/* rgb */ color: rgb(129, 35, 120);
/* oklch */ color: oklch(43.8% 0.161 332.1);
Tailwind
colors: {
  custom: {
    50: '#a9679f',
    500: '#812378',
    950: '#000000',
  },
}
SCSS
$custom: #812378;
$custom-light: #a9679f;
$custom-dark: #000000;
JSON
{
  "hex": "#812378",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 305.745,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43773,
    "c": 0.16112,
    "h": 332.1
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#812378
secondary
#4DB357
accent
#E15647
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812378

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

Preview Lab → · Contrast checker → · Palette generator →

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