#56145B#56145B

#56145B is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.131 H 324.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#56145B
RGBrgb(86, 20, 91)
HSLhsl(296, 64%, 22%)
HSVhsv(296, 78%, 36%)
CMYKcmyk(5.5%, 78%, 0%, 64.3%)
CIE-LABlab(20.96, 39.51, -27.12)
CIE-LCHlch(20.96, 47.93, 325.53°)
OKLaboklab(33.59% 0.1075 -0.0755)
OKLCHoklch(33.59% 0.131 324.9)
XYZxyz(5.9761, 3.2345, 10.2050)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56145B #195B14
analogous
#33145B #56145B #5B143D
triadic
#56145B #5B5614 #145B56
tetradic
#56145B #5B3314 #195B14 #143D5B
square
#56145B #5B3314 #195B14 #143D5B
split-complementary
#56145B #3D5B14 #145B33
monochromatic
#180619 #270929 #56145B #851F8D #B52ABF

Accessibility & contrast

On white

12.75
#56145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#56145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56145B
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56145B#FFFFFF#000000##FFFFFF
##56145B1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#223559
Tritanopia (blue-blind)
#582036
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #56145b;
/* rgb */ color: rgb(86, 20, 91);
/* oklch */ color: oklch(33.6% 0.131 324.9);
Tailwind
colors: {
  custom: {
    50: '#88598a',
    500: '#56145b',
    950: '#000000',
  },
}
SCSS
$custom: #56145b;
$custom-light: #88598a;
$custom-dark: #000000;
JSON
{
  "hex": "#56145b",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 295.775,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33585,
    "c": 0.13135,
    "h": 324.9
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#56145B
secondary
#3E9338
accent
#E7414D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #56145B

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

Preview Lab → · Contrast checker → · Palette generator →

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