#56145E#56145E

#56145E is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.134 H 323.2°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#56145E
RGBrgb(86, 20, 94)
HSLhsl(294, 65%, 22%)
HSVhsv(294, 79%, 37%)
CMYKcmyk(8.5%, 78.7%, 0%, 63.1%)
CIE-LABlab(21.16, 40.10, -28.80)
CIE-LCHlch(21.16, 49.37, 324.32°)
OKLaboklab(33.79% 0.1073 -0.0804)
OKLCHoklch(33.79% 0.134 323.2)
XYZxyz(6.1081, 3.2873, 10.9003)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56145E #1C5E14
analogous
#31145E #56145E #5E1441
triadic
#56145E #5E5614 #145E56
tetradic
#56145E #5E3114 #1C5E14 #14415E
square
#56145E #5E3114 #1C5E14 #14415E
split-complementary
#56145E #415E14 #145E31
monochromatic
#170519 #28092C #56145E #841F90 #B229C3

Accessibility & contrast

On white

12.67
#56145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#56145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56145E
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56145E#FFFFFF#000000##FFFFFF
##56145E1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#20355C
Tritanopia (blue-blind)
#572238
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56145e;
/* rgb */ color: rgb(86, 20, 94);
/* oklch */ color: oklch(33.8% 0.134 323.2);
Tailwind
colors: {
  custom: {
    50: '#885a8c',
    500: '#56145e',
    950: '#000000',
  },
}
SCSS
$custom: #56145e;
$custom-light: #885a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#56145e",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 293.514,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33792,
    "c": 0.13409,
    "h": 323.2
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#56145E
secondary
#429638
accent
#E84052
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56145E

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

Preview Lab → · Contrast checker → · Palette generator →

#56145E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva