#511364#511364

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

Color values

HEX#511364
RGBrgb(81, 19, 100)
HSLhsl(286, 68%, 23%)
HSVhsv(286, 81%, 39%)
CMYKcmyk(19%, 81%, 0%, 60.8%)
CIE-LABlab(20.58, 40.60, -33.74)
CIE-LCHlch(20.58, 52.79, 320.27°)
OKLaboklab(33.34% 0.101 -0.095)
OKLCHoklch(33.34% 0.139 316.7)
XYZxyz(5.9261, 3.1354, 12.3472)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511364 #266413
analogous
#281364 #511364 #64134E
triadic
#511364 #645113 #136451
tetradic
#511364 #642813 #266413 #134E64
square
#511364 #642813 #266413 #134E64
split-complementary
#511364 #4E6413 #136428
monochromatic
#15051A #270931 #511364 #7B1D97 #A427CB

Accessibility & contrast

On white

12.91
#511364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#511364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511364
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511364#FFFFFF#000000##FFFFFF
##5113641.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#143362
Tritanopia (blue-blind)
#50253B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #511364;
/* rgb */ color: rgb(81, 19, 100);
/* oklch */ color: oklch(33.3% 0.139 316.7);
Tailwind
colors: {
  custom: {
    50: '#855991',
    500: '#511364',
    950: '#000000',
  },
}
SCSS
$custom: #511364;
$custom-light: #855991;
$custom-dark: #000000;
JSON
{
  "hex": "#511364",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 285.926,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33342,
    "c": 0.13869,
    "h": 316.7
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#511364
secondary
#4F9C37
accent
#EB3D66
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #511364

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

Preview Lab → · Contrast checker → · Palette generator →

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