#56276C#56276C

#56276C is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.1% C 0.121 H 313.5°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#56276C
RGBrgb(86, 39, 108)
HSLhsl(281, 47%, 29%)
HSVhsv(281, 64%, 42%)
CMYKcmyk(20.4%, 63.9%, 0%, 57.6%)
CIE-LABlab(25.30, 34.23, -31.33)
CIE-LCHlch(25.30, 46.41, 317.53°)
OKLaboklab(37.07% 0.0834 -0.0879)
OKLCHoklch(37.07% 0.121 313.5)
XYZxyz(7.2696, 4.5124, 14.6725)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56276C #3D6C27
analogous
#34276C #56276C #6C2760
triadic
#56276C #6C5627 #276C56
tetradic
#56276C #6C3427 #3D6C27 #27606C
square
#56276C #6C3427 #3D6C27 #27606C
split-complementary
#56276C #606C27 #276C34
monochromatic
#120816 #32173F #56276C #7A3799 #9B4EBF

Accessibility & contrast

On white

11.04
#56276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#56276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56276C
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56276C#FFFFFF#000000##FFFFFF
##56276C1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F396E
Deuteranopia (green-blind)
#243D6A
Tritanopia (blue-blind)
#543445
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #56276c;
/* rgb */ color: rgb(86, 39, 108);
/* oklch */ color: oklch(37.1% 0.121 313.5);
Tailwind
colors: {
  custom: {
    50: '#886496',
    500: '#56276c',
    950: '#000000',
  },
}
SCSS
$custom: #56276c;
$custom-light: #886496;
$custom-dark: #000000;
JSON
{
  "hex": "#56276c",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 280.87,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37069,
    "c": 0.12118,
    "h": 313.5
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#56276C
secondary
#699F50
accent
#D7517C
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #56276C

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

Preview Lab → · Contrast checker → · Palette generator →

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