#511066#511066

#511066 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.144 H 316.0°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#511066
RGBrgb(81, 16, 102)
HSLhsl(285, 73%, 23%)
HSVhsv(285, 84%, 40%)
CMYKcmyk(20.6%, 84.3%, 0%, 60%)
CIE-LABlab(20.36, 42.10, -35.41)
CIE-LCHlch(20.36, 55.01, 319.94°)
OKLaboklab(33.24% 0.1034 -0.0999)
OKLCHoklch(33.24% 0.144 316)
XYZxyz(5.9765, 3.0795, 12.8474)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511066 #256610
analogous
#261066 #511066 #661050
triadic
#511066 #665110 #106651
tetradic
#511066 #662610 #256610 #105066
square
#511066 #662610 #256610 #105066
split-complementary
#511066 #506610 #106626
monochromatic
#15041A #270831 #511066 #7B189B #A521D0

Accessibility & contrast

On white

13.00
#511066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#511066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511066
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511066#FFFFFF#000000##FFFFFF
##5110661.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#0E3364
Tritanopia (blue-blind)
#4F243B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511066;
/* rgb */ color: rgb(81, 16, 102);
/* oklch */ color: oklch(33.2% 0.144 316.0);
Tailwind
colors: {
  custom: {
    50: '#855892',
    500: '#511066',
    950: '#000000',
  },
}
SCSS
$custom: #511066;
$custom-light: #855892;
$custom-dark: #000000;
JSON
{
  "hex": "#511066",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 285.349,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33236,
    "c": 0.14377,
    "h": 316
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#511066
secondary
#4E9E33
accent
#F03865
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #511066

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

Preview Lab → · Contrast checker → · Palette generator →

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