#56295C#56295C

#56295C is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.4% C 0.099 H 322.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#56295C
RGBrgb(86, 41, 92)
HSLhsl(293, 38%, 26%)
HSVhsv(293, 55%, 36%)
CMYKcmyk(6.5%, 55.4%, 0%, 63.9%)
CIE-LABlab(24.76, 29.45, -21.78)
CIE-LCHlch(24.76, 36.62, 323.51°)
OKLaboklab(36.36% 0.0792 -0.0602)
OKLCHoklch(36.36% 0.099 322.8)
XYZxyz(6.5623, 4.3373, 10.6147)
Luminance0.0434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56295C #2F5C29
analogous
#3C295C #56295C #5C2948
triadic
#56295C #5C5629 #295C56
tetradic
#56295C #5C3C29 #2F5C29 #29485C
square
#56295C #5C3C29 #2F5C29 #29485C
split-complementary
#56295C #485C29 #295C3C
monochromatic
#140915 #2E1632 #56295C #7E3C86 #A54FB1

Accessibility & contrast

On white

11.25
#56295C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#56295C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56295C
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56295C#FFFFFF#000000##FFFFFF
##56295C1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21375E
Deuteranopia (green-blind)
#2F3D5B
Tritanopia (blue-blind)
#57303E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #56295c;
/* rgb */ color: rgb(86, 41, 92);
/* oklch */ color: oklch(36.4% 0.099 322.8);
Tailwind
colors: {
  custom: {
    50: '#87658a',
    500: '#56295c',
    950: '#000000',
  },
}
SCSS
$custom: #56295c;
$custom-light: #87658a;
$custom-dark: #000000;
JSON
{
  "hex": "#56295c",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 292.941,
    "s": 38.346,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36362,
    "c": 0.09949,
    "h": 322.8
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#56295C
secondary
#598F52
accent
#CE5A67
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #56295C

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

Preview Lab → · Contrast checker → · Palette generator →

#56295C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva