#56367E#56367E

#56367E is a dark, moderate violet. Relative luminance 0.061; OKLCH L 40.7% C 0.119 H 301.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#56367E
RGBrgb(86, 54, 126)
HSLhsl(267, 40%, 35%)
HSVhsv(267, 57%, 49%)
CMYKcmyk(31.7%, 57.1%, 0%, 50.6%)
CIE-LABlab(29.72, 30.16, -35.70)
CIE-LCHlch(29.72, 46.74, 310.19°)
OKLaboklab(40.68% 0.0627 -0.1008)
OKLCHoklch(40.68% 0.119 301.9)
XYZxyz(8.9219, 6.1231, 20.4465)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56367E #5E7E36
analogous
#363A7E #56367E #7A367E
triadic
#56367E #7E5636 #367E56
tetradic
#56367E #7E363A #5E7E36 #367E7A
square
#56367E #7E363A #5E7E36 #367E7A
split-complementary
#56367E #7E7A36 #3A7E36
monochromatic
#1C1128 #392453 #56367E #7348A9 #936EC1

Accessibility & contrast

On white

9.44
#56367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#56367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56367E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56367E#FFFFFF#000000##FFFFFF
##56367E1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4580
Deuteranopia (green-blind)
#25467C
Tritanopia (blue-blind)
#4E4454
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #56367e;
/* rgb */ color: rgb(86, 54, 126);
/* oklch */ color: oklch(40.7% 0.119 301.9);
Tailwind
colors: {
  custom: {
    50: '#886ea4',
    500: '#56367e',
    950: '#000000',
  },
}
SCSS
$custom: #56367e;
$custom-light: #886ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#56367e",
  "rgb": {
    "r": 86,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 266.667,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.11871,
    "h": 301.9
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

primary
#56367E
secondary
#8CA967
accent
#D0589B
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #56367E

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

Preview Lab → · Contrast checker → · Palette generator →

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