#56277A#56277A

#56277A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.137 H 307.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#56277A
RGBrgb(86, 39, 122)
HSLhsl(274, 52%, 32%)
HSVhsv(274, 68%, 48%)
CMYKcmyk(29.5%, 68%, 0%, 52.2%)
CIE-LABlab(26.26, 37.66, -38.74)
CIE-LCHlch(26.26, 54.03, 314.19°)
OKLaboklab(38.07% 0.0828 -0.1097)
OKLCHoklch(38.07% 0.137 307)
XYZxyz(8.0754, 4.8347, 18.9164)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56277A #4B7A27
analogous
#2D277A #56277A #7A2775
triadic
#56277A #7A5627 #277A56
tetradic
#56277A #7A2D27 #4B7A27 #27757A
square
#56277A #7A2D27 #4B7A27 #27757A
split-complementary
#56277A #757A27 #277A2D
monochromatic
#15091D #35184C #56277A #7736A8 #9553C8

Accessibility & contrast

On white

10.68
#56277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#56277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56277A
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56277A#FFFFFF#000000##FFFFFF
##56277A1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#153F78
Tritanopia (blue-blind)
#50394D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #56277a;
/* rgb */ color: rgb(86, 39, 122);
/* oklch */ color: oklch(38.1% 0.137 307.0);
Tailwind
colors: {
  custom: {
    50: '#8965a1',
    500: '#56277a',
    950: '#000000',
  },
}
SCSS
$custom: #56277a;
$custom-light: #8965a1;
$custom-dark: #000000;
JSON
{
  "hex": "#56277a",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 273.976,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38072,
    "c": 0.1374,
    "h": 307
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#56277A
secondary
#78AC51
accent
#DB4D8A
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #56277A

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

Preview Lab → · Contrast checker → · Palette generator →

#56277A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva