#56367D#56367D

#56367D is a dark, moderate violet. Relative luminance 0.061; OKLCH L 40.6% C 0.117 H 302.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#56367D
RGBrgb(86, 54, 125)
HSLhsl(267, 40%, 35%)
HSVhsv(267, 57%, 49%)
CMYKcmyk(31.2%, 56.8%, 0%, 51%)
CIE-LABlab(29.66, 29.89, -35.18)
CIE-LCHlch(29.66, 46.16, 310.36°)
OKLaboklab(40.61% 0.0627 -0.0993)
OKLCHoklch(40.61% 0.117 302.3)
XYZxyz(8.8577, 6.0974, 20.1083)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56367D #5D7D36
analogous
#363A7D #56367D #79367D
triadic
#56367D #7D5636 #367D56
tetradic
#56367D #7D363A #5D7D36 #367D79
square
#56367D #7D363A #5D7D36 #367D79
split-complementary
#56367D #7D7936 #3A7D36
monochromatic
#1B1128 #392452 #56367D #7348A8 #936DC0

Accessibility & contrast

On white

9.46
#56367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56367D
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56367D#FFFFFF#000000##FFFFFF
##56367D1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#26467B
Tritanopia (blue-blind)
#4F4454
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #56367d;
/* rgb */ color: rgb(86, 54, 125);
/* oklch */ color: oklch(40.6% 0.117 302.3);
Tailwind
colors: {
  custom: {
    50: '#886ea3',
    500: '#56367d',
    950: '#000000',
  },
}
SCSS
$custom: #56367d;
$custom-light: #886ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#56367d",
  "rgb": {
    "r": 86,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 267.042,
    "s": 39.665,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40614,
    "c": 0.11739,
    "h": 302.3
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#56367D
secondary
#8BA966
accent
#D0589A
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #56367D

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

Preview Lab → · Contrast checker → · Palette generator →

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