#56379B#56379B

#56379B is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.0% C 0.155 H 293.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#56379B
RGBrgb(86, 55, 155)
HSLhsl(259, 48%, 41%)
HSVhsv(259, 65%, 61%)
CMYKcmyk(44.5%, 64.5%, 0%, 39.2%)
CIE-LABlab(31.98, 37.72, -49.95)
CIE-LCHlch(31.98, 62.59, 307.06°)
OKLaboklab(42.98% 0.0606 -0.1426)
OKLCHoklch(42.98% 0.155 293)
XYZxyz(11.1187, 7.0770, 31.7842)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56379B #7C9B37
analogous
#374A9B #56379B #88379B
triadic
#56379B #9B5637 #379B56
tetradic
#56379B #9B374A #7C9B37 #379B88
square
#56379B #9B374A #7C9B37 #379B88
split-complementary
#56379B #9B8837 #4A9B37
monochromatic
#241741 #3D276E #56379B #724FC0 #967CD0

Accessibility & contrast

On white

8.69
#56379B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#56379B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56379B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56379B#FFFFFF#000000##FFFFFF
##56379B1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#434E64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #56379b;
/* rgb */ color: rgb(86, 55, 155);
/* oklch */ color: oklch(43.0% 0.155 293.0);
Tailwind
colors: {
  custom: {
    50: '#8b6fb9',
    500: '#56379b',
    950: '#000000',
  },
}
SCSS
$custom: #56379b;
$custom-light: #8b6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#56379b",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 258.6,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42983,
    "c": 0.15498,
    "h": 293
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#56379B
secondary
#A4BA74
accent
#D751AD
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #56379B

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

Preview Lab → · Contrast checker → · Palette generator →

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