#511361#511361

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

Color values

HEX#511361
RGBrgb(81, 19, 97)
HSLhsl(288, 67%, 23%)
HSVhsv(288, 80%, 38%)
CMYKcmyk(16.5%, 80.4%, 0%, 62%)
CIE-LABlab(20.36, 39.96, -32.12)
CIE-LCHlch(20.36, 51.27, 321.21°)
OKLaboklab(33.11% 0.1015 -0.0903)
OKLCHoklch(33.11% 0.136 318.3)
XYZxyz(5.7836, 3.0784, 11.5965)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511361 #236113
analogous
#2A1361 #511361 #61134A
triadic
#511361 #615113 #136151
tetradic
#511361 #612A13 #236113 #134A61
square
#511361 #612A13 #236113 #134A61
split-complementary
#511361 #4A6113 #13612A
monochromatic
#15051A #26092E #511361 #7C1D94 #A627C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##511361#FFFFFF#000000##FFFFFF
##5113611.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)
#002D63
Deuteranopia (green-blind)
#17335F
Tritanopia (blue-blind)
#512439
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511361;
/* rgb */ color: rgb(81, 19, 97);
/* oklch */ color: oklch(33.1% 0.136 318.3);
Tailwind
colors: {
  custom: {
    50: '#85598e',
    500: '#511361',
    950: '#000000',
  },
}
SCSS
$custom: #511361;
$custom-light: #85598e;
$custom-dark: #000000;
JSON
{
  "hex": "#511361",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 287.692,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33113,
    "c": 0.1358,
    "h": 318.3
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#511361
secondary
#4B9937
accent
#EA3E61
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #511361

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

Preview Lab → · Contrast checker → · Palette generator →

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