#56255B#56255B

#56255B is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.7% C 0.106 H 323.8°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#56255B
RGBrgb(86, 37, 91)
HSLhsl(294, 42%, 25%)
HSVhsv(294, 59%, 36%)
CMYKcmyk(5.5%, 59.3%, 0%, 64.3%)
CIE-LABlab(23.86, 31.47, -22.53)
CIE-LCHlch(23.86, 38.71, 324.40°)
OKLaboklab(35.68% 0.0853 -0.0623)
OKLCHoklch(35.68% 0.106 323.8)
XYZxyz(6.3875, 4.0572, 10.3422)
Luminance0.0406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56255B #2A5B25
analogous
#3B255B #56255B #5B2545
triadic
#56255B #5B5625 #255B56
tetradic
#56255B #5B3B25 #2A5B25 #25455B
square
#56255B #5B3B25 #2A5B25 #25455B
split-complementary
#56255B #455B25 #255B3B
monochromatic
#150916 #2D132F #56255B #7F3787 #A848B2

Accessibility & contrast

On white

11.59
#56255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#56255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56255B
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56255B#FFFFFF#000000##FFFFFF
##56255B1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D355D
Deuteranopia (green-blind)
#2D3B59
Tritanopia (blue-blind)
#582C3C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #56255b;
/* rgb */ color: rgb(86, 37, 91);
/* oklch */ color: oklch(35.7% 0.106 323.8);
Tailwind
colors: {
  custom: {
    50: '#876289',
    500: '#56255b',
    950: '#000000',
  },
}
SCSS
$custom: #56255b;
$custom-light: #876289;
$custom-dark: #000000;
JSON
{
  "hex": "#56255b",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 294.444,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35684,
    "c": 0.10561,
    "h": 323.8
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#56255B
secondary
#538E4D
accent
#D25661
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #56255B

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

Preview Lab → · Contrast checker → · Palette generator →

#56255B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva