#511653#511653

#511653 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.4% C 0.119 H 326.5°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#511653
RGBrgb(81, 22, 83)
HSLhsl(298, 58%, 21%)
HSVhsv(298, 73%, 33%)
CMYKcmyk(2.4%, 73.5%, 0%, 67.5%)
CIE-LABlab(19.83, 35.86, -23.61)
CIE-LCHlch(19.83, 42.93, 326.64°)
OKLaboklab(32.44% 0.0989 -0.0654)
OKLCHoklch(32.44% 0.119 326.5)
XYZxyz(5.2415, 2.9480, 8.4749)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511653 #185316
analogous
#321653 #511653 #531636
triadic
#511653 #535116 #165351
tetradic
#511653 #533216 #185316 #163653
square
#511653 #533216 #185316 #163653
split-complementary
#511653 #365316 #165332
monochromatic
#180618 #220923 #511653 #802383 #AF30B4

Accessibility & contrast

On white

13.21
#511653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#511653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511653
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511653#FFFFFF#000000##FFFFFF
##5116531.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2B55
Deuteranopia (green-blind)
#243351
Tritanopia (blue-blind)
#531F32
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511653;
/* rgb */ color: rgb(81, 22, 83);
/* oklch */ color: oklch(32.4% 0.119 326.5);
Tailwind
colors: {
  custom: {
    50: '#845983',
    500: '#511653',
    950: '#000000',
  },
}
SCSS
$custom: #511653;
$custom-light: #845983;
$custom-dark: #000000;
JSON
{
  "hex": "#511653",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 298.033,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32436,
    "c": 0.11862,
    "h": 326.5
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#511653
secondary
#3D8A3A
accent
#E1464C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #511653

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

Preview Lab → · Contrast checker → · Palette generator →

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