#56387B#56387B

#56387B is a dark, moderate violet. Relative luminance 0.062; OKLCH L 40.8% C 0.111 H 302.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#56387B
RGBrgb(86, 56, 123)
HSLhsl(267, 37%, 35%)
HSVhsv(267, 54%, 48%)
CMYKcmyk(30.1%, 54.5%, 0%, 51.8%)
CIE-LABlab(30.00, 28.14, -33.37)
CIE-LCHlch(30.00, 43.65, 310.14°)
OKLaboklab(40.83% 0.0597 -0.094)
OKLCHoklch(40.83% 0.111 302.4)
XYZxyz(8.8263, 6.2368, 19.4739)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56387B #5D7B38
analogous
#383B7B #56387B #78387B
triadic
#56387B #7B5638 #387B56
tetradic
#56387B #7B383B #5D7B38 #387B78
square
#56387B #7B383B #5D7B38 #387B78
split-complementary
#56387B #7B7838 #3B7B38
monochromatic
#1B1227 #392551 #56387B #734BA5 #9370BE

Accessibility & contrast

On white

9.34
#56387B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#56387B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56387B
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56387B#FFFFFF#000000##FFFFFF
##56387B1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467D
Deuteranopia (green-blind)
#2A4679
Tritanopia (blue-blind)
#4F4554
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #56387b;
/* rgb */ color: rgb(86, 56, 123);
/* oklch */ color: oklch(40.8% 0.111 302.4);
Tailwind
colors: {
  custom: {
    50: '#886fa1',
    500: '#56387b',
    950: '#000000',
  },
}
SCSS
$custom: #56387b;
$custom-light: #886fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#56387b",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 266.866,
    "s": 37.43,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40829,
    "c": 0.11133,
    "h": 302.4
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#56387B
secondary
#8BA768
accent
#CD5A9A
background
#F8F6FA
surface
#F0ECF3
border
#CBC7CD
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #56387B

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

Preview Lab → · Contrast checker → · Palette generator →

#56387B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva