#56145F#56145F

#56145F is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.135 H 322.6°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#56145F
RGBrgb(86, 20, 95)
HSLhsl(293, 65%, 23%)
HSVhsv(293, 79%, 37%)
CMYKcmyk(9.5%, 78.9%, 0%, 62.7%)
CIE-LABlab(21.23, 40.30, -29.35)
CIE-LCHlch(21.23, 49.86, 323.94°)
OKLaboklab(33.86% 0.1072 -0.082)
OKLCHoklch(33.86% 0.135 322.6)
XYZxyz(6.1533, 3.3053, 11.1381)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56145F #1D5F14
analogous
#31145F #56145F #5F1442
triadic
#56145F #5F5614 #145F56
tetradic
#56145F #5F3114 #1D5F14 #14425F
square
#56145F #5F3114 #1D5F14 #14425F
split-complementary
#56145F #425F14 #145F31
monochromatic
#170519 #28092C #56145F #841F92 #B229C4

Accessibility & contrast

On white

12.64
#56145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56145F
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56145F#FFFFFF#000000##FFFFFF
##56145F1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56145f;
/* rgb */ color: rgb(86, 20, 95);
/* oklch */ color: oklch(33.9% 0.135 322.6);
Tailwind
colors: {
  custom: {
    50: '#895a8d',
    500: '#56145f',
    950: '#000000',
  },
}
SCSS
$custom: #56145f;
$custom-light: #895a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#56145f",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 292.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33862,
    "c": 0.135,
    "h": 322.6
  },
  "luminance": 0.03305
}

Semantic roles & 50–950 ramp

primary
#56145F
secondary
#449738
accent
#E84054
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56145F

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

Preview Lab → · Contrast checker → · Palette generator →

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