#511648#511648

#511648 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.109 H 334.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#511648
RGBrgb(81, 22, 72)
HSLhsl(309, 57%, 20%)
HSVhsv(309, 73%, 32%)
CMYKcmyk(0%, 72.8%, 11.1%, 68.2%)
CIE-LABlab(19.19, 33.78, -17.15)
CIE-LCHlch(19.19, 37.88, 333.09°)
OKLaboklab(31.76% 0.0981 -0.0468)
OKLCHoklch(31.76% 0.109 334.5)
XYZxyz(4.8500, 2.7914, 6.4130)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511648 #16511F
analogous
#3D1651 #511648 #51162A
triadic
#511648 #485116 #164851
tetradic
#511648 #513D16 #16511F #162A51
square
#511648 #513D16 #16511F #162A51
split-complementary
#511648 #2A5116 #16513D
monochromatic
#180715 #21091D #511648 #812373 #B1309E

Accessibility & contrast

On white

13.48
#511648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511648
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511648#FFFFFF#000000##FFFFFF
##5116481.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152949
Deuteranopia (green-blind)
#293247
Tritanopia (blue-blind)
#551A2C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511648;
/* rgb */ color: rgb(81, 22, 72);
/* oklch */ color: oklch(31.8% 0.109 334.5);
Tailwind
colors: {
  custom: {
    50: '#84597b',
    500: '#511648',
    950: '#000000',
  },
}
SCSS
$custom: #511648;
$custom-light: #84597b;
$custom-dark: #000000;
JSON
{
  "hex": "#511648",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 309.153,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3176,
    "c": 0.10868,
    "h": 334.5
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#511648
secondary
#3A8846
accent
#E15F47
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511648

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

Preview Lab → · Contrast checker → · Palette generator →

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