#56146F#56146F

#56146F is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.150 H 314.4°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#56146F
RGBrgb(86, 20, 111)
HSLhsl(284, 69%, 26%)
HSVhsv(284, 82%, 44%)
CMYKcmyk(22.5%, 82%, 0%, 56.5%)
CIE-LABlab(22.40, 43.65, -37.93)
CIE-LCHlch(22.40, 57.83, 319.01°)
OKLaboklab(35.06% 0.105 -0.1072)
OKLCHoklch(35.06% 0.15 314.4)
XYZxyz(6.9567, 3.6267, 15.3694)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56146F #2D6F14
analogous
#28146F #56146F #6F145A
triadic
#56146F #6F5614 #146F56
tetradic
#56146F #6F2814 #2D6F14 #145A6F
square
#56146F #6F2814 #2D6F14 #145A6F
split-complementary
#56146F #5A6F14 #146F28
monochromatic
#14051A #2E0B3B #56146F #7E1DA3 #A627D7

Accessibility & contrast

On white

12.17
#56146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#56146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56146F
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56146F#FFFFFF#000000##FFFFFF
##56146F1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#0D376D
Tritanopia (blue-blind)
#542A41
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #56146f;
/* rgb */ color: rgb(86, 20, 111);
/* oklch */ color: oklch(35.1% 0.150 314.4);
Tailwind
colors: {
  custom: {
    50: '#895a99',
    500: '#56146f',
    950: '#000000',
  },
}
SCSS
$custom: #56146f;
$custom-light: #895a99;
$custom-dark: #000000;
JSON
{
  "hex": "#56146f",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 283.516,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35061,
    "c": 0.15006,
    "h": 314.4
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#56146F
secondary
#57A639
accent
#EC3C6C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #56146F

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

Preview Lab → · Contrast checker → · Palette generator →

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