#56378F#56378F

#56378F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.1% C 0.140 H 296.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#56378F
RGBrgb(86, 55, 143)
HSLhsl(261, 44%, 39%)
HSVhsv(261, 62%, 56%)
CMYKcmyk(39.9%, 61.5%, 0%, 43.9%)
CIE-LABlab(31.10, 34.28, -44.04)
CIE-LCHlch(31.10, 55.81, 307.90°)
OKLaboklab(42.06% 0.0614 -0.1253)
OKLCHoklch(42.06% 0.14 296.1)
XYZxyz(10.1606, 6.6938, 26.7380)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56378F #708F37
analogous
#37448F #56378F #82378F
triadic
#56378F #8F5637 #378F56
tetradic
#56378F #8F3744 #708F37 #378F82
square
#56378F #8F3744 #708F37 #378F82
split-complementary
#56378F #8F8237 #448F37
monochromatic
#211537 #3B2663 #56378F #714AB9 #9476CA

Accessibility & contrast

On white

8.98
#56378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#56378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56378F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56378F#FFFFFF#000000##FFFFFF
##56378F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#0E488D
Tritanopia (blue-blind)
#484A5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #56378f;
/* rgb */ color: rgb(86, 55, 143);
/* oklch */ color: oklch(42.1% 0.140 296.1);
Tailwind
colors: {
  custom: {
    50: '#8a6fb0',
    500: '#56378f',
    950: '#000000',
  },
}
SCSS
$custom: #56378f;
$custom-light: #8a6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#56378f",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 261.136,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42062,
    "c": 0.1395,
    "h": 296.1
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#56378F
secondary
#9BB36F
accent
#D454A7
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #56378F

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

Preview Lab → · Contrast checker → · Palette generator →

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