#56285D#56285D

#56285D is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.3% C 0.102 H 322.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#56285D
RGBrgb(86, 40, 93)
HSLhsl(292, 40%, 26%)
HSVhsv(292, 57%, 36%)
CMYKcmyk(7.5%, 57%, 0%, 63.5%)
CIE-LABlab(24.60, 30.23, -22.68)
CIE-LCHlch(24.60, 37.80, 323.12°)
OKLaboklab(36.26% 0.0809 -0.0628)
OKLCHoklch(36.26% 0.102 322.2)
XYZxyz(6.5721, 4.2866, 10.8350)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56285D #2F5D28
analogous
#3B285D #56285D #5D2849
triadic
#56285D #5D5628 #285D56
tetradic
#56285D #5D3B28 #2F5D28 #28495D
square
#56285D #5D3B28 #2F5D28 #28495D
split-complementary
#56285D #495D28 #285D3B
monochromatic
#140915 #2E1632 #56285D #7E3A88 #A54DB2

Accessibility & contrast

On white

11.31
#56285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#56285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56285D
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56285D#FFFFFF#000000##FFFFFF
##56285D1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20375F
Deuteranopia (green-blind)
#2E3C5C
Tritanopia (blue-blind)
#572F3E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #56285d;
/* rgb */ color: rgb(86, 40, 93);
/* oklch */ color: oklch(36.3% 0.102 322.2);
Tailwind
colors: {
  custom: {
    50: '#87648b',
    500: '#56285d',
    950: '#000000',
  },
}
SCSS
$custom: #56285d;
$custom-light: #87648b;
$custom-dark: #000000;
JSON
{
  "hex": "#56285d",
  "rgb": {
    "r": 86,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 292.075,
    "s": 39.85,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36263,
    "c": 0.10243,
    "h": 322.2
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#56285D
secondary
#599051
accent
#D05868
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B050C
muted
#7C7A7D

Preview Lab

Preview with #56285D

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

Preview Lab → · Contrast checker → · Palette generator →

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