#56246A#56246A

#56246A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.5% C 0.124 H 315.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#56246A
RGBrgb(86, 36, 106)
HSLhsl(283, 49%, 28%)
HSVhsv(283, 66%, 42%)
CMYKcmyk(18.9%, 66%, 0%, 58.4%)
CIE-LABlab(24.58, 35.37, -31.19)
CIE-LCHlch(24.58, 47.15, 318.59°)
OKLaboklab(36.51% 0.0875 -0.0875)
OKLCHoklch(36.51% 0.124 315)
XYZxyz(7.0697, 4.2810, 14.0868)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56246A #386A24
analogous
#33246A #56246A #6A245B
triadic
#56246A #6A5624 #246A56
tetradic
#56246A #6A3324 #386A24 #245B6A
square
#56246A #6A3324 #386A24 #245B6A
split-complementary
#56246A #5B6A24 #246A33
monochromatic
#130817 #31143C #56246A #7B3498 #9E48C1

Accessibility & contrast

On white

11.31
#56246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#56246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56246A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56246A#FFFFFF#000000##FFFFFF
##56246A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B376C
Deuteranopia (green-blind)
#233C68
Tritanopia (blue-blind)
#543143
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #56246a;
/* rgb */ color: rgb(86, 36, 106);
/* oklch */ color: oklch(36.5% 0.124 315.0);
Tailwind
colors: {
  custom: {
    50: '#886295',
    500: '#56246a',
    950: '#000000',
  },
}
SCSS
$custom: #56246a;
$custom-light: #886295;
$custom-dark: #000000;
JSON
{
  "hex": "#56246a",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 282.857,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36506,
    "c": 0.12373,
    "h": 315
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

primary
#56246A
secondary
#649D4D
accent
#D94F76
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #56246A

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

Preview Lab → · Contrast checker → · Palette generator →

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