#51106A#51106A

#51106A is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.148 H 314.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#51106A
RGBrgb(81, 16, 106)
HSLhsl(283, 74%, 24%)
HSVhsv(283, 85%, 42%)
CMYKcmyk(23.6%, 84.9%, 0%, 58.4%)
CIE-LABlab(20.68, 42.97, -37.51)
CIE-LCHlch(20.68, 57.04, 318.88°)
OKLaboklab(33.56% 0.1025 -0.1061)
OKLCHoklch(33.56% 0.148 314)
XYZxyz(6.1797, 3.1607, 13.9174)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51106A #296A10
analogous
#24106A #51106A #6A1056
triadic
#51106A #6A5110 #106A51
tetradic
#51106A #6A2410 #296A10 #10566A
square
#51106A #6A2410 #296A10 #10566A
split-complementary
#51106A #566A10 #106A24
monochromatic
#14041B #280835 #51106A #7A189F #A220D4

Accessibility & contrast

On white

12.87
#51106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#51106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51106A
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51106A#FFFFFF#000000##FFFFFF
##51106A1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#063368
Tritanopia (blue-blind)
#4E263E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #51106a;
/* rgb */ color: rgb(81, 16, 106);
/* oklch */ color: oklch(33.6% 0.148 314.0);
Tailwind
colors: {
  custom: {
    50: '#865895',
    500: '#51106a',
    950: '#000000',
  },
}
SCSS
$custom: #51106a;
$custom-light: #865895;
$custom-dark: #000000;
JSON
{
  "hex": "#51106a",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 283.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33559,
    "c": 0.14754,
    "h": 314
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#51106A
secondary
#52A234
accent
#F0376B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #51106A

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

Preview Lab → · Contrast checker → · Palette generator →

#51106A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva