#56246D#56246D

#56246D is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.7% C 0.127 H 313.5°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#56246D
RGBrgb(86, 36, 109)
HSLhsl(281, 50%, 28%)
HSVhsv(281, 67%, 43%)
CMYKcmyk(21.1%, 67%, 0%, 57.3%)
CIE-LABlab(24.78, 36.07, -32.81)
CIE-LCHlch(24.78, 48.76, 317.71°)
OKLaboklab(36.71% 0.0874 -0.0922)
OKLCHoklch(36.71% 0.127 313.5)
XYZxyz(7.2285, 4.3445, 14.9228)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56246D #3B6D24
analogous
#31246D #56246D #6D245F
triadic
#56246D #6D5624 #246D56
tetradic
#56246D #6D3124 #3B6D24 #245F6D
square
#56246D #6D3124 #3B6D24 #245F6D
split-complementary
#56246D #5F6D24 #246D31
monochromatic
#120817 #32153F #56246D #7A339B #9C49C3

Accessibility & contrast

On white

11.24
#56246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#56246D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56246D
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56246D#FFFFFF#000000##FFFFFF
##56246D1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05386F
Deuteranopia (green-blind)
#203C6B
Tritanopia (blue-blind)
#543245
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #56246d;
/* rgb */ color: rgb(86, 36, 109);
/* oklch */ color: oklch(36.7% 0.127 313.5);
Tailwind
colors: {
  custom: {
    50: '#886297',
    500: '#56246d',
    950: '#000000',
  },
}
SCSS
$custom: #56246d;
$custom-light: #886297;
$custom-dark: #000000;
JSON
{
  "hex": "#56246d",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 281.096,
    "s": 50.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36714,
    "c": 0.12708,
    "h": 313.5
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#56246D
secondary
#67A04D
accent
#DA4E7A
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #56246D

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

Preview Lab → · Contrast checker → · Palette generator →

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