#511067#511067

#511067 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.145 H 315.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#511067
RGBrgb(81, 16, 103)
HSLhsl(285, 73%, 23%)
HSVhsv(285, 84%, 40%)
CMYKcmyk(21.4%, 84.5%, 0%, 59.6%)
CIE-LABlab(20.44, 42.32, -35.94)
CIE-LCHlch(20.44, 55.52, 319.66°)
OKLaboklab(33.32% 0.1032 -0.1015)
OKLCHoklch(33.32% 0.145 315.5)
XYZxyz(6.0264, 3.0994, 13.1101)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511067 #266710
analogous
#261067 #511067 #671051
triadic
#511067 #675110 #106751
tetradic
#511067 #672610 #266710 #105167
square
#511067 #672610 #266710 #105167
split-complementary
#511067 #516710 #106726
monochromatic
#15041A #270832 #511067 #7B189C #A420D1

Accessibility & contrast

On white

12.96
#511067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511067
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511067#FFFFFF#000000##FFFFFF
##5110671.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#0C3365
Tritanopia (blue-blind)
#4F253C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511067;
/* rgb */ color: rgb(81, 16, 103);
/* oklch */ color: oklch(33.3% 0.145 315.5);
Tailwind
colors: {
  custom: {
    50: '#855893',
    500: '#511067',
    950: '#000000',
  },
}
SCSS
$custom: #511067;
$custom-light: #855893;
$custom-dark: #000000;
JSON
{
  "hex": "#511067",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 284.828,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33316,
    "c": 0.14471,
    "h": 315.5
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#511067
secondary
#4F9F33
accent
#F03866
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #511067

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

Preview Lab → · Contrast checker → · Palette generator →

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