#56236A#56236A

#56236A is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.4% C 0.125 H 315.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#56236A
RGBrgb(86, 35, 106)
HSLhsl(283, 50%, 28%)
HSVhsv(283, 67%, 42%)
CMYKcmyk(18.9%, 67%, 0%, 58.4%)
CIE-LABlab(24.39, 35.89, -31.49)
CIE-LCHlch(24.39, 47.74, 318.73°)
OKLaboklab(36.37% 0.0888 -0.0884)
OKLCHoklch(36.37% 0.125 315.1)
XYZxyz(7.0399, 4.2213, 14.0768)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56236A #376A23
analogous
#33236A #56236A #6A235A
triadic
#56236A #6A5623 #236A56
tetradic
#56236A #6A3323 #376A23 #235A6A
square
#56236A #6A3323 #376A23 #235A6A
split-complementary
#56236A #5A6A23 #236A33
monochromatic
#130817 #31143C #56236A #7B3298 #9F46C2

Accessibility & contrast

On white

11.39
#56236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#56236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56236A
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56236A#FFFFFF#000000##FFFFFF
##56236A1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08376C
Deuteranopia (green-blind)
#223B68
Tritanopia (blue-blind)
#553043
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #56236a;
/* rgb */ color: rgb(86, 35, 106);
/* oklch */ color: oklch(36.4% 0.125 315.1);
Tailwind
colors: {
  custom: {
    50: '#886295',
    500: '#56236a',
    950: '#000000',
  },
}
SCSS
$custom: #56236a;
$custom-light: #886295;
$custom-dark: #000000;
JSON
{
  "hex": "#56236a",
  "rgb": {
    "r": 86,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 283.099,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36369,
    "c": 0.1253,
    "h": 315.1
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#56236A
secondary
#629D4B
accent
#DA4E75
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #56236A

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

Preview Lab → · Contrast checker → · Palette generator →

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