#56387D#56387D

#56387D is a dark, moderate violet. Relative luminance 0.063; OKLCH L 41.0% C 0.114 H 301.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#56387D
RGBrgb(86, 56, 125)
HSLhsl(266, 38%, 35%)
HSVhsv(266, 55%, 49%)
CMYKcmyk(31.2%, 55.2%, 0%, 51%)
CIE-LABlab(30.13, 28.68, -34.43)
CIE-LCHlch(30.13, 44.81, 309.79°)
OKLaboklab(40.96% 0.0598 -0.0971)
OKLCHoklch(40.96% 0.114 301.6)
XYZxyz(8.9527, 6.2874, 20.1400)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56387D #5F7D38
analogous
#383C7D #56387D #78387D
triadic
#56387D #7D5638 #387D56
tetradic
#56387D #7D383C #5F7D38 #387D78
square
#56387D #7D383C #5F7D38 #387D78
split-complementary
#56387D #7D7838 #3C7D38
monochromatic
#1C1228 #392553 #56387D #734BA7 #9370BF

Accessibility & contrast

On white

9.30
#56387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#56387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56387D
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56387D#FFFFFF#000000##FFFFFF
##56387D1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467F
Deuteranopia (green-blind)
#28477B
Tritanopia (blue-blind)
#4E4555
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #56387d;
/* rgb */ color: rgb(86, 56, 125);
/* oklch */ color: oklch(41.0% 0.114 301.6);
Tailwind
colors: {
  custom: {
    50: '#886fa3',
    500: '#56387d',
    950: '#000000',
  },
}
SCSS
$custom: #56387d;
$custom-light: #886fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#56387d",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 266.087,
    "s": 38.122,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40961,
    "c": 0.11402,
    "h": 301.6
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#56387D
secondary
#8DA869
accent
#CE5A9B
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #56387D

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

Preview Lab → · Contrast checker → · Palette generator →

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