#511347#511347

#511347 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.112 H 335.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#511347
RGBrgb(81, 19, 71)
HSLhsl(310, 62%, 20%)
HSVhsv(310, 77%, 32%)
CMYKcmyk(0%, 76.5%, 12.3%, 68.2%)
CIE-LABlab(18.67, 34.90, -17.27)
CIE-LCHlch(18.67, 38.93, 333.68°)
OKLaboklab(31.37% 0.1018 -0.0471)
OKLCHoklch(31.37% 0.112 335.2)
XYZxyz(4.7636, 2.6704, 6.2246)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511347 #13511D
analogous
#3C1351 #511347 #511328
triadic
#511347 #475113 #134751
tetradic
#511347 #513C13 #13511D #132851
square
#511347 #513C13 #13511D #132851
split-complementary
#511347 #285113 #13513C
monochromatic
#190616 #1F071C #511347 #831F72 #B42A9E

Accessibility & contrast

On white

13.69
#511347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511347
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511347#FFFFFF#000000##FFFFFF
##5113471.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132848
Deuteranopia (green-blind)
#283145
Tritanopia (blue-blind)
#55182B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511347;
/* rgb */ color: rgb(81, 19, 71);
/* oklch */ color: oklch(31.4% 0.112 335.2);
Tailwind
colors: {
  custom: {
    50: '#84577a',
    500: '#511347',
    950: '#000000',
  },
}
SCSS
$custom: #511347;
$custom-light: #84577a;
$custom-dark: #000000;
JSON
{
  "hex": "#511347",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 71
  },
  "hsl": {
    "h": 309.677,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31368,
    "c": 0.11216,
    "h": 335.2
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#511347
secondary
#368A44
accent
#E55D43
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #511347

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

Preview Lab → · Contrast checker → · Palette generator →

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