#56255D#56255D

#56255D is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.8% C 0.108 H 322.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#56255D
RGBrgb(86, 37, 93)
HSLhsl(293, 43%, 25%)
HSVhsv(293, 60%, 36%)
CMYKcmyk(7.5%, 60.2%, 0%, 63.5%)
CIE-LABlab(23.97, 31.90, -23.67)
CIE-LCHlch(23.97, 39.72, 323.43°)
OKLaboklab(35.81% 0.0855 -0.0656)
OKLCHoklch(35.81% 0.108 322.5)
XYZxyz(6.4749, 4.0922, 10.8026)
Luminance0.0409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56255D #2C5D25
analogous
#3A255D #56255D #5D2548
triadic
#56255D #5D5625 #255D56
tetradic
#56255D #5D3A25 #2C5D25 #25485D
square
#56255D #5D3A25 #2C5D25 #25485D
split-complementary
#56255D #485D25 #255D3A
monochromatic
#140916 #2E1431 #56255D #7E3689 #A748B5

Accessibility & contrast

On white

11.55
#56255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#56255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56255D
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56255D#FFFFFF#000000##FFFFFF
##56255D1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B355F
Deuteranopia (green-blind)
#2C3B5B
Tritanopia (blue-blind)
#572D3D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #56255d;
/* rgb */ color: rgb(86, 37, 93);
/* oklch */ color: oklch(35.8% 0.108 322.5);
Tailwind
colors: {
  custom: {
    50: '#87628b',
    500: '#56255d',
    950: '#000000',
  },
}
SCSS
$custom: #56255d;
$custom-light: #87628b;
$custom-dark: #000000;
JSON
{
  "hex": "#56255d",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 292.5,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35805,
    "c": 0.10776,
    "h": 322.5
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#56255D
secondary
#56904D
accent
#D35565
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #56255D

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

Preview Lab → · Contrast checker → · Palette generator →

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