#511349#511349

#511349 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.114 H 333.6°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#511349
RGBrgb(81, 19, 73)
HSLhsl(308, 62%, 20%)
HSVhsv(308, 77%, 32%)
CMYKcmyk(0%, 76.5%, 9.9%, 68.2%)
CIE-LABlab(18.79, 35.25, -18.46)
CIE-LCHlch(18.79, 39.79, 332.35°)
OKLaboklab(31.49% 0.102 -0.0506)
OKLCHoklch(31.49% 0.114 333.6)
XYZxyz(4.8288, 2.6965, 6.5682)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511349 #13511B
analogous
#3A1351 #511349 #51132A
triadic
#511349 #495113 #134951
tetradic
#511349 #513A13 #13511B #132A51
square
#511349 #513A13 #13511B #132A51
split-complementary
#511349 #2A5113 #13513A
monochromatic
#190616 #1F071C #511349 #831F76 #B42AA2

Accessibility & contrast

On white

13.64
#511349 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511349 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511349
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511349#FFFFFF#000000##FFFFFF
##5113491.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11284B
Deuteranopia (green-blind)
#273147
Tritanopia (blue-blind)
#55192C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511349;
/* rgb */ color: rgb(81, 19, 73);
/* oklch */ color: oklch(31.5% 0.114 333.6);
Tailwind
colors: {
  custom: {
    50: '#84577c',
    500: '#511349',
    950: '#000000',
  },
}
SCSS
$custom: #511349;
$custom-light: #84577c;
$custom-dark: #000000;
JSON
{
  "hex": "#511349",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 73
  },
  "hsl": {
    "h": 307.742,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31486,
    "c": 0.11383,
    "h": 333.6
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#511349
secondary
#368A41
accent
#E55843
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #511349

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

Preview Lab → · Contrast checker → · Palette generator →

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