#511453#511453

#511453 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.2% C 0.121 H 326.6°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#511453
RGBrgb(81, 20, 83)
HSLhsl(298, 61%, 20%)
HSVhsv(298, 76%, 33%)
CMYKcmyk(2.4%, 75.9%, 0%, 67.5%)
CIE-LABlab(19.53, 36.71, -24.09)
CIE-LCHlch(19.53, 43.90, 326.73°)
OKLaboklab(32.22% 0.1013 -0.0668)
OKLCHoklch(32.22% 0.121 326.6)
XYZxyz(5.2047, 2.8745, 8.4626)
Luminance0.0287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511453 #165314
analogous
#311453 #511453 #531436
triadic
#511453 #535114 #145351
tetradic
#511453 #533114 #165314 #143653
square
#511453 #533114 #165314 #143653
split-complementary
#511453 #365314 #145331
monochromatic
#180619 #210822 #511453 #812084 #B12CB6

Accessibility & contrast

On white

13.34
#511453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511453 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511453
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511453#FFFFFF#000000##FFFFFF
##5114531.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072A55
Deuteranopia (green-blind)
#233251
Tritanopia (blue-blind)
#531E32
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511453;
/* rgb */ color: rgb(81, 20, 83);
/* oklch */ color: oklch(32.2% 0.121 326.6);
Tailwind
colors: {
  custom: {
    50: '#845884',
    500: '#511453',
    950: '#000000',
  },
}
SCSS
$custom: #511453;
$custom-light: #845884;
$custom-dark: #000000;
JSON
{
  "hex": "#511453",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 83
  },
  "hsl": {
    "h": 298.095,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3222,
    "c": 0.12136,
    "h": 326.6
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#511453
secondary
#3A8B38
accent
#E44449
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #511453

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

Preview Lab → · Contrast checker → · Palette generator →

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