#56256A#56256A

#56256A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.6% C 0.122 H 314.8°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#56256A
RGBrgb(86, 37, 106)
HSLhsl(283, 48%, 28%)
HSVhsv(283, 65%, 42%)
CMYKcmyk(18.9%, 65.1%, 0%, 58.4%)
CIE-LABlab(24.77, 34.84, -30.88)
CIE-LCHlch(24.77, 46.55, 318.45°)
OKLaboklab(36.65% 0.0861 -0.0866)
OKLCHoklch(36.65% 0.122 314.8)
XYZxyz(7.1004, 4.3424, 14.0970)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56256A #396A25
analogous
#33256A #56256A #6A255B
triadic
#56256A #6A5625 #256A56
tetradic
#56256A #6A3325 #396A25 #255B6A
square
#56256A #6A3325 #396A25 #255B6A
split-complementary
#56256A #5B6A25 #256A33
monochromatic
#120817 #31153D #56256A #7B3597 #9E4AC0

Accessibility & contrast

On white

11.24
#56256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#56256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56256A
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56256A#FFFFFF#000000##FFFFFF
##56256A1.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)
#0D386C
Deuteranopia (green-blind)
#243C68
Tritanopia (blue-blind)
#543144
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #56256a;
/* rgb */ color: rgb(86, 37, 106);
/* oklch */ color: oklch(36.6% 0.122 314.8);
Tailwind
colors: {
  custom: {
    50: '#886395',
    500: '#56256a',
    950: '#000000',
  },
}
SCSS
$custom: #56256a;
$custom-light: #886395;
$custom-dark: #000000;
JSON
{
  "hex": "#56256a",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 282.609,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36646,
    "c": 0.12214,
    "h": 314.8
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

primary
#56256A
secondary
#659D4E
accent
#D85077
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #56256A

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

Preview Lab → · Contrast checker → · Palette generator →

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