#56146E#56146E

#56146E is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.149 H 314.9°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#56146E
RGBrgb(86, 20, 110)
HSLhsl(284, 69%, 25%)
HSVhsv(284, 82%, 43%)
CMYKcmyk(21.8%, 81.8%, 0%, 56.9%)
CIE-LABlab(22.32, 43.43, -37.41)
CIE-LCHlch(22.32, 57.32, 319.26°)
OKLaboklab(34.98% 0.1052 -0.1056)
OKLCHoklch(34.98% 0.149 314.9)
XYZxyz(6.9019, 3.6048, 15.0811)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56146E #2C6E14
analogous
#29146E #56146E #6E1459
triadic
#56146E #6E5614 #146E56
tetradic
#56146E #6E2914 #2C6E14 #14596E
square
#56146E #6E2914 #2C6E14 #14596E
split-complementary
#56146E #596E14 #146E29
monochromatic
#14051A #2E0B3A #56146E #7E1DA2 #A727D6

Accessibility & contrast

On white

12.20
#56146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#56146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56146E
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56146E#FFFFFF#000000##FFFFFF
##56146E1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#0F376C
Tritanopia (blue-blind)
#542941
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #56146e;
/* rgb */ color: rgb(86, 20, 110);
/* oklch */ color: oklch(35.0% 0.149 314.9);
Tailwind
colors: {
  custom: {
    50: '#895a98',
    500: '#56146e',
    950: '#000000',
  },
}
SCSS
$custom: #56146e;
$custom-light: #895a98;
$custom-dark: #000000;
JSON
{
  "hex": "#56146e",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 284,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34982,
    "c": 0.14911,
    "h": 314.9
  },
  "luminance": 0.03605
}

Semantic roles & 50–950 ramp

primary
#56146E
secondary
#56A539
accent
#EC3C6B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #56146E

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

Preview Lab → · Contrast checker → · Palette generator →

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