#56245C#56245C

#56245C is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.6% C 0.108 H 323.3°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#56245C
RGBrgb(86, 36, 92)
HSLhsl(294, 44%, 25%)
HSVhsv(294, 61%, 36%)
CMYKcmyk(6.5%, 60.9%, 0%, 63.9%)
CIE-LABlab(23.71, 32.23, -23.42)
CIE-LCHlch(23.71, 39.84, 324.00°)
OKLaboklab(35.6% 0.0869 -0.0649)
OKLCHoklch(35.6% 0.108 323.3)
XYZxyz(6.4002, 4.0132, 10.5606)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56245C #2A5C24
analogous
#3A245C #56245C #5C2446
triadic
#56245C #5C5624 #245C56
tetradic
#56245C #5C3A24 #2A5C24 #24465C
square
#56245C #5C3A24 #2A5C24 #24465C
split-complementary
#56245C #465C24 #245C3A
monochromatic
#150916 #2D1330 #56245C #7F3588 #A846B4

Accessibility & contrast

On white

11.65
#56245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#56245C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56245C
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56245C#FFFFFF#000000##FFFFFF
##56245C1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B355E
Deuteranopia (green-blind)
#2C3A5A
Tritanopia (blue-blind)
#572C3C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #56245c;
/* rgb */ color: rgb(86, 36, 92);
/* oklch */ color: oklch(35.6% 0.108 323.3);
Tailwind
colors: {
  custom: {
    50: '#87628a',
    500: '#56245c',
    950: '#000000',
  },
}
SCSS
$custom: #56245c;
$custom-light: #87628a;
$custom-dark: #000000;
JSON
{
  "hex": "#56245c",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 293.571,
    "s": 43.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35597,
    "c": 0.10843,
    "h": 323.3
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

primary
#56245C
secondary
#53904C
accent
#D35462
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #56245C

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

Preview Lab → · Contrast checker → · Palette generator →

#56245C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva