#56379D#56379D

#56379D is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.1% C 0.158 H 292.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#56379D
RGBrgb(86, 55, 157)
HSLhsl(258, 48%, 42%)
HSVhsv(258, 65%, 62%)
CMYKcmyk(45.2%, 65%, 0%, 38.4%)
CIE-LABlab(32.13, 38.30, -50.91)
CIE-LCHlch(32.13, 63.71, 306.95°)
OKLaboklab(43.14% 0.0604 -0.1455)
OKLCHoklch(43.14% 0.158 292.5)
XYZxyz(11.2881, 7.1448, 32.6761)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56379D #7E9D37
analogous
#374B9D #56379D #89379D
triadic
#56379D #9D5637 #379D56
tetradic
#56379D #9D374B #7E9D37 #379D89
square
#56379D #9D374B #7E9D37 #379D89
split-complementary
#56379D #9D8937 #4B9D37
monochromatic
#241742 #3D2770 #56379D #7250C2 #977DD1

Accessibility & contrast

On white

8.65
#56379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#56379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56379D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56379D#FFFFFF#000000##FFFFFF
##56379D1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#414F65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #56379d;
/* rgb */ color: rgb(86, 55, 157);
/* oklch */ color: oklch(43.1% 0.158 292.5);
Tailwind
colors: {
  custom: {
    50: '#8b70bb',
    500: '#56379d',
    950: '#000000',
  },
}
SCSS
$custom: #56379d;
$custom-light: #8b70bb;
$custom-dark: #000000;
JSON
{
  "hex": "#56379d",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 258.235,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43142,
    "c": 0.15753,
    "h": 292.5
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#56379D
secondary
#A6BB75
accent
#D850AE
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #56379D

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

Preview Lab → · Contrast checker → · Palette generator →

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