#56367B#56367B

#56367B is a dark, moderate violet. Relative luminance 0.060; OKLCH L 40.5% C 0.115 H 303.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#56367B
RGBrgb(86, 54, 123)
HSLhsl(268, 39%, 35%)
HSVhsv(268, 56%, 48%)
CMYKcmyk(30.1%, 56.1%, 0%, 51.8%)
CIE-LABlab(29.53, 29.35, -34.12)
CIE-LCHlch(29.53, 45.01, 310.70°)
OKLaboklab(40.48% 0.0626 -0.0962)
OKLCHoklch(40.48% 0.115 303)
XYZxyz(8.7313, 6.0468, 19.4422)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56367B #5B7B36
analogous
#36397B #56367B #79367B
triadic
#56367B #7B5636 #367B56
tetradic
#56367B #7B3639 #5B7B36 #367B79
square
#56367B #7B3639 #5B7B36 #367B79
split-complementary
#56367B #7B7936 #397B36
monochromatic
#1B1126 #382350 #56367B #7449A6 #936DBF

Accessibility & contrast

On white

9.50
#56367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#56367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56367B
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56367B#FFFFFF#000000##FFFFFF
##56367B1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457D
Deuteranopia (green-blind)
#284579
Tritanopia (blue-blind)
#4F4353
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #56367b;
/* rgb */ color: rgb(86, 54, 123);
/* oklch */ color: oklch(40.5% 0.115 303.0);
Tailwind
colors: {
  custom: {
    50: '#886ea1',
    500: '#56367b',
    950: '#000000',
  },
}
SCSS
$custom: #56367b;
$custom-light: #886ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#56367b",
  "rgb": {
    "r": 86,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 267.826,
    "s": 38.983,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4048,
    "c": 0.11474,
    "h": 303
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#56367B
secondary
#89A765
accent
#CF5998
background
#F8F6FA
surface
#F0ECF3
border
#CBC7CD
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #56367B

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

Preview Lab → · Contrast checker → · Palette generator →

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