#56387C#56387C

#56387C is a dark, moderate violet. Relative luminance 0.063; OKLCH L 40.9% C 0.113 H 302.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#56387C
RGBrgb(86, 56, 124)
HSLhsl(266, 38%, 35%)
HSVhsv(266, 55%, 49%)
CMYKcmyk(30.6%, 54.8%, 0%, 51.4%)
CIE-LABlab(30.06, 28.41, -33.90)
CIE-LCHlch(30.06, 44.23, 309.96°)
OKLaboklab(40.89% 0.0598 -0.0955)
OKLCHoklch(40.89% 0.113 302)
XYZxyz(8.8892, 6.2620, 19.8053)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56387C #5E7C38
analogous
#383C7C #56387C #78387C
triadic
#56387C #7C5638 #387C56
tetradic
#56387C #7C383C #5E7C38 #387C78
square
#56387C #7C383C #5E7C38 #387C78
split-complementary
#56387C #7C7838 #3C7C38
monochromatic
#1C1228 #392552 #56387C #734BA6 #9370BE

Accessibility & contrast

On white

9.32
#56387C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56387C
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56387C#FFFFFF#000000##FFFFFF
##56387C1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467E
Deuteranopia (green-blind)
#29477A
Tritanopia (blue-blind)
#4F4554
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #56387c;
/* rgb */ color: rgb(86, 56, 124);
/* oklch */ color: oklch(40.9% 0.113 302.0);
Tailwind
colors: {
  custom: {
    50: '#886fa2',
    500: '#56387c',
    950: '#000000',
  },
}
SCSS
$custom: #56387c;
$custom-light: #886fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#56387c",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 266.471,
    "s": 37.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40894,
    "c": 0.11268,
    "h": 302
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#56387C
secondary
#8CA768
accent
#CE5A9B
background
#F8F6FA
surface
#F0ECF3
border
#CBC7CD
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #56387C

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

Preview Lab → · Contrast checker → · Palette generator →

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