#511448#511448

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

Color values

HEX#511448
RGBrgb(81, 20, 72)
HSLhsl(309, 60%, 20%)
HSVhsv(309, 75%, 32%)
CMYKcmyk(0%, 75.3%, 11.1%, 68.2%)
CIE-LABlab(18.88, 34.65, -17.63)
CIE-LCHlch(18.88, 38.88, 333.03°)
OKLaboklab(31.53% 0.1007 -0.0482)
OKLCHoklch(31.53% 0.112 334.4)
XYZxyz(4.8132, 2.7179, 6.4007)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511448 #14511D
analogous
#3B1451 #511448 #51142A
triadic
#511448 #485114 #144851
tetradic
#511448 #513B14 #14511D #142A51
square
#511448 #513B14 #14511D #142A51
split-complementary
#511448 #2A5114 #14513B
monochromatic
#190616 #20081C #511448 #822074 #B32C9F

Accessibility & contrast

On white

13.60
#511448 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511448
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511448#FFFFFF#000000##FFFFFF
##5114481.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132849
Deuteranopia (green-blind)
#283146
Tritanopia (blue-blind)
#55192C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511448;
/* rgb */ color: rgb(81, 20, 72);
/* oklch */ color: oklch(31.5% 0.112 334.4);
Tailwind
colors: {
  custom: {
    50: '#84587b',
    500: '#511448',
    950: '#000000',
  },
}
SCSS
$custom: #511448;
$custom-light: #84587b;
$custom-dark: #000000;
JSON
{
  "hex": "#511448",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 72
  },
  "hsl": {
    "h": 308.852,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31534,
    "c": 0.1116,
    "h": 334.4
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#511448
secondary
#388944
accent
#E45C44
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #511448

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

Preview Lab → · Contrast checker → · Palette generator →

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