#56145A#56145A

#56145A is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.130 H 325.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#56145A
RGBrgb(86, 20, 90)
HSLhsl(297, 64%, 22%)
HSVhsv(297, 78%, 35%)
CMYKcmyk(4.4%, 77.8%, 0%, 64.7%)
CIE-LABlab(20.89, 39.32, -26.56)
CIE-LCHlch(20.89, 47.45, 325.96°)
OKLaboklab(33.52% 0.1075 -0.0739)
OKLCHoklch(33.52% 0.13 325.5)
XYZxyz(5.9332, 3.2173, 9.9794)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56145A #185A14
analogous
#33145A #56145A #5A143B
triadic
#56145A #5A5614 #145A56
tetradic
#56145A #5A3314 #185A14 #143B5A
square
#56145A #5A3314 #185A14 #143B5A
split-complementary
#56145A #3B5A14 #145A33
monochromatic
#180619 #260928 #56145A #861F8C #B62ABE

Accessibility & contrast

On white

12.78
#56145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#56145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56145A
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56145A#FFFFFF#000000##FFFFFF
##56145A1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022D5C
Deuteranopia (green-blind)
#233558
Tritanopia (blue-blind)
#582036
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #56145a;
/* rgb */ color: rgb(86, 20, 90);
/* oklch */ color: oklch(33.5% 0.130 325.5);
Tailwind
colors: {
  custom: {
    50: '#885989',
    500: '#56145a',
    950: '#000000',
  },
}
SCSS
$custom: #56145a;
$custom-light: #885989;
$custom-dark: #000000;
JSON
{
  "hex": "#56145a",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 296.571,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33517,
    "c": 0.13044,
    "h": 325.5
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#56145A
secondary
#3D9238
accent
#E7414B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #56145A

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

Preview Lab → · Contrast checker → · Palette generator →

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