#511753#511753

#511753 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.5% C 0.117 H 326.5°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#511753
RGBrgb(81, 23, 83)
HSLhsl(298, 57%, 21%)
HSVhsv(298, 72%, 33%)
CMYKcmyk(2.4%, 72.3%, 0%, 67.5%)
CIE-LABlab(19.99, 35.41, -23.36)
CIE-LCHlch(19.99, 42.43, 326.59°)
OKLaboklab(32.55% 0.0977 -0.0647)
OKLCHoklch(32.55% 0.117 326.5)
XYZxyz(5.2610, 2.9870, 8.4814)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511753 #195317
analogous
#331753 #511753 #531737
triadic
#511753 #535117 #175351
tetradic
#511753 #533317 #195317 #173753
square
#511753 #533317 #195317 #173753
split-complementary
#511753 #375317 #175333
monochromatic
#170718 #220A23 #511753 #802483 #AF32B3

Accessibility & contrast

On white

13.15
#511753 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#511753 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511753
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511753#FFFFFF#000000##FFFFFF
##5117531.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2C55
Deuteranopia (green-blind)
#243351
Tritanopia (blue-blind)
#532033
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511753;
/* rgb */ color: rgb(81, 23, 83);
/* oklch */ color: oklch(32.5% 0.117 326.5);
Tailwind
colors: {
  custom: {
    50: '#845a83',
    500: '#511753',
    950: '#000000',
  },
}
SCSS
$custom: #511753;
$custom-light: #845a83;
$custom-dark: #000000;
JSON
{
  "hex": "#511753",
  "rgb": {
    "r": 81,
    "g": 23,
    "b": 83
  },
  "hsl": {
    "h": 298,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32549,
    "c": 0.11719,
    "h": 326.5
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#511753
secondary
#3E8A3C
accent
#E0484D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #511753

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

Preview Lab → · Contrast checker → · Palette generator →

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