#56276E#56276E

#56276E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.123 H 312.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#56276E
RGBrgb(86, 39, 110)
HSLhsl(280, 48%, 29%)
HSVhsv(280, 65%, 43%)
CMYKcmyk(21.8%, 64.5%, 0%, 56.9%)
CIE-LABlab(25.43, 34.71, -32.41)
CIE-LCHlch(25.43, 47.49, 316.96°)
OKLaboklab(37.21% 0.0834 -0.0911)
OKLCHoklch(37.21% 0.123 312.5)
XYZxyz(7.3772, 4.5555, 15.2395)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56276E #3F6E27
analogous
#33276E #56276E #6E2763
triadic
#56276E #6E5627 #276E56
tetradic
#56276E #6E3327 #3F6E27 #27636E
square
#56276E #6E3327 #3F6E27 #27636E
split-complementary
#56276E #636E27 #276E33
monochromatic
#120817 #331741 #56276E #79379B #9A4FC1

Accessibility & contrast

On white

10.99
#56276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#56276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56276E
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56276E#FFFFFF#000000##FFFFFF
##56276E1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3A70
Deuteranopia (green-blind)
#223D6C
Tritanopia (blue-blind)
#533446
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #56276e;
/* rgb */ color: rgb(86, 39, 110);
/* oklch */ color: oklch(37.2% 0.123 312.5);
Tailwind
colors: {
  custom: {
    50: '#886498',
    500: '#56276e',
    950: '#000000',
  },
}
SCSS
$custom: #56276e;
$custom-light: #886498;
$custom-dark: #000000;
JSON
{
  "hex": "#56276e",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 279.718,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37206,
    "c": 0.12349,
    "h": 312.5
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#56276E
secondary
#6BA150
accent
#D7517E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #56276E

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

Preview Lab → · Contrast checker → · Palette generator →

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