#56378E#56378E

#56378E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.0% C 0.138 H 296.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#56378E
RGBrgb(86, 55, 142)
HSLhsl(261, 44%, 39%)
HSVhsv(261, 61%, 56%)
CMYKcmyk(39.4%, 61.3%, 0%, 44.3%)
CIE-LABlab(31.03, 34.00, -43.54)
CIE-LCHlch(31.03, 55.24, 307.99°)
OKLaboklab(41.99% 0.0614 -0.1238)
OKLCHoklch(41.99% 0.138 296.4)
XYZxyz(10.0852, 6.6636, 26.3408)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56378E #6F8E37
analogous
#37438E #56378E #81378E
triadic
#56378E #8E5637 #378E56
tetradic
#56378E #8E3743 #6F8E37 #378E81
square
#56378E #8E3743 #6F8E37 #378E81
split-complementary
#56378E #8E8137 #438E37
monochromatic
#211536 #3B2662 #56378E #7149B9 #9476CA

Accessibility & contrast

On white

9.00
#56378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#56378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56378E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56378E#FFFFFF#000000##FFFFFF
##56378E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#11488C
Tritanopia (blue-blind)
#484A5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #56378e;
/* rgb */ color: rgb(86, 55, 142);
/* oklch */ color: oklch(42.0% 0.138 296.4);
Tailwind
colors: {
  custom: {
    50: '#8a6fb0',
    500: '#56378e',
    950: '#000000',
  },
}
SCSS
$custom: #56378e;
$custom-light: #8a6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#56378e",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 261.379,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41987,
    "c": 0.1382,
    "h": 296.4
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#56378E
secondary
#9AB36E
accent
#D454A6
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #56378E

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

Preview Lab → · Contrast checker → · Palette generator →

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