#511467#511467

#511467 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.140 H 315.1°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#511467
RGBrgb(81, 20, 103)
HSLhsl(284, 67%, 24%)
HSVhsv(284, 81%, 40%)
CMYKcmyk(21.4%, 80.6%, 0%, 59.6%)
CIE-LABlab(20.94, 40.87, -35.13)
CIE-LCHlch(20.94, 53.89, 319.32°)
OKLaboklab(33.67% 0.0996 -0.0991)
OKLCHoklch(33.67% 0.14 315.1)
XYZxyz(6.0913, 3.2291, 13.1318)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511467 #2A6714
analogous
#271467 #511467 #671454
triadic
#511467 #675114 #146751
tetradic
#511467 #672714 #2A6714 #145467
square
#511467 #672714 #2A6714 #145467
split-complementary
#511467 #546714 #146727
monochromatic
#14051A #290A34 #511467 #791E9A #A228CD

Accessibility & contrast

On white

12.76
#511467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#511467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511467
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511467#FFFFFF#000000##FFFFFF
##5114671.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#103465
Tritanopia (blue-blind)
#4F273D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #511467;
/* rgb */ color: rgb(81, 20, 103);
/* oklch */ color: oklch(33.7% 0.140 315.1);
Tailwind
colors: {
  custom: {
    50: '#855993',
    500: '#511467',
    950: '#000000',
  },
}
SCSS
$custom: #511467;
$custom-light: #855993;
$custom-dark: #000000;
JSON
{
  "hex": "#511467",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 284.096,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33669,
    "c": 0.14047,
    "h": 315.1
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#511467
secondary
#549E39
accent
#EA3D6B
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #511467

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

Preview Lab → · Contrast checker → · Palette generator →

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