#56367F#56367F

#56367F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.8% C 0.120 H 301.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#56367F
RGBrgb(86, 54, 127)
HSLhsl(266, 40%, 35%)
HSVhsv(266, 57%, 50%)
CMYKcmyk(32.3%, 57.5%, 0%, 50.2%)
CIE-LABlab(29.79, 30.43, -36.22)
CIE-LCHlch(29.79, 47.31, 310.04°)
OKLaboklab(40.75% 0.0628 -0.1023)
OKLCHoklch(40.75% 0.12 301.5)
XYZxyz(8.9868, 6.1490, 20.7880)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56367F #5F7F36
analogous
#363B7F #56367F #7A367F
triadic
#56367F #7F5636 #367F56
tetradic
#56367F #7F363B #5F7F36 #367F7A
square
#56367F #7F363B #5F7F36 #367F7A
split-complementary
#56367F #7F7A36 #3B7F36
monochromatic
#1C1129 #392454 #56367F #7348AA #936EC1

Accessibility & contrast

On white

9.42
#56367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#56367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56367F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56367F#FFFFFF#000000##FFFFFF
##56367F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194681
Deuteranopia (green-blind)
#24467D
Tritanopia (blue-blind)
#4E4455
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #56367f;
/* rgb */ color: rgb(86, 54, 127);
/* oklch */ color: oklch(40.8% 0.120 301.5);
Tailwind
colors: {
  custom: {
    50: '#886ea4',
    500: '#56367f',
    950: '#000000',
  },
}
SCSS
$custom: #56367f;
$custom-light: #886ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#56367f",
  "rgb": {
    "r": 86,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 266.301,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4075,
    "c": 0.12004,
    "h": 301.5
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #56367F

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

Preview Lab → · Contrast checker → · Palette generator →

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