#511449#511449

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

Color values

HEX#511449
RGBrgb(81, 20, 73)
HSLhsl(308, 60%, 20%)
HSVhsv(308, 75%, 32%)
CMYKcmyk(0%, 75.3%, 9.9%, 68.2%)
CIE-LABlab(18.93, 34.83, -18.23)
CIE-LCHlch(18.93, 39.31, 332.37°)
OKLaboklab(31.59% 0.1008 -0.0499)
OKLCHoklch(31.59% 0.112 333.7)
XYZxyz(4.8461, 2.7311, 6.5740)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511449 #14511C
analogous
#3B1451 #511449 #51142B
triadic
#511449 #495114 #144951
tetradic
#511449 #513B14 #14511C #142B51
square
#511449 #513B14 #14511C #142B51
split-complementary
#511449 #2B5114 #14513B
monochromatic
#190616 #20081D #511449 #822075 #B32CA1

Accessibility & contrast

On white

13.58
#511449 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511449 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511449
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511449#FFFFFF#000000##FFFFFF
##5114491.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511449;
/* rgb */ color: rgb(81, 20, 73);
/* oklch */ color: oklch(31.6% 0.112 333.7);
Tailwind
colors: {
  custom: {
    50: '#84587c',
    500: '#511449',
    950: '#000000',
  },
}
SCSS
$custom: #511449;
$custom-light: #84587c;
$custom-dark: #000000;
JSON
{
  "hex": "#511449",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 73
  },
  "hsl": {
    "h": 307.869,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31593,
    "c": 0.11245,
    "h": 333.7
  },
  "luminance": 0.02731
}

Semantic roles & 50–950 ramp

primary
#511449
secondary
#388942
accent
#E45944
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #511449

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

Preview Lab → · Contrast checker → · Palette generator →

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