#511455#511455

#511455 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.123 H 325.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#511455
RGBrgb(81, 20, 85)
HSLhsl(296, 62%, 21%)
HSVhsv(296, 76%, 33%)
CMYKcmyk(4.7%, 76.5%, 0%, 66.7%)
CIE-LABlab(19.66, 37.10, -25.23)
CIE-LCHlch(19.66, 44.86, 325.78°)
OKLaboklab(32.35% 0.1013 -0.0701)
OKLCHoklch(32.35% 0.123 325.3)
XYZxyz(5.2831, 2.9059, 8.8752)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511455 #185514
analogous
#301455 #511455 #551438
triadic
#511455 #555114 #145551
tetradic
#511455 #553014 #185514 #143855
square
#511455 #553014 #185514 #143855
split-complementary
#511455 #385514 #145530
monochromatic
#180619 #220823 #511455 #802087 #AF2BB8

Accessibility & contrast

On white

13.28
#511455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#511455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511455
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511455#FFFFFF#000000##FFFFFF
##5114551.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042B57
Deuteranopia (green-blind)
#213253
Tritanopia (blue-blind)
#531F33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511455;
/* rgb */ color: rgb(81, 20, 85);
/* oklch */ color: oklch(32.4% 0.123 325.3);
Tailwind
colors: {
  custom: {
    50: '#845885',
    500: '#511455',
    950: '#000000',
  },
}
SCSS
$custom: #511455;
$custom-light: #845885;
$custom-dark: #000000;
JSON
{
  "hex": "#511455",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 296.308,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32354,
    "c": 0.12321,
    "h": 325.3
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#511455
secondary
#3D8D38
accent
#E5434D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #511455

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

Preview Lab → · Contrast checker → · Palette generator →

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