#56399D#56399D

#56399D is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.5% C 0.155 H 292.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#56399D
RGBrgb(86, 57, 157)
HSLhsl(257, 47%, 42%)
HSVhsv(257, 64%, 62%)
CMYKcmyk(45.2%, 63.7%, 0%, 38.4%)
CIE-LABlab(32.57, 37.14, -50.21)
CIE-LCHlch(32.57, 62.45, 306.49°)
OKLaboklab(43.46% 0.0581 -0.1434)
OKLCHoklch(43.46% 0.155 292.1)
XYZxyz(11.3850, 7.3386, 32.7084)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56399D #809D39
analogous
#394E9D #56399D #88399D
triadic
#56399D #9D5639 #399D56
tetradic
#56399D #9D394E #809D39 #399D88
square
#56399D #9D394E #809D39 #399D88
split-complementary
#56399D #9D8839 #4E9D39
monochromatic
#251843 #3D2970 #56399D #7353C0 #9780D1

Accessibility & contrast

On white

8.51
#56399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#56399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56399D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56399D#FFFFFF#000000##FFFFFF
##56399D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#415065
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #56399d;
/* rgb */ color: rgb(86, 57, 157);
/* oklch */ color: oklch(43.5% 0.155 292.1);
Tailwind
colors: {
  custom: {
    50: '#8b71bb',
    500: '#56399d',
    950: '#000000',
  },
}
SCSS
$custom: #56399d;
$custom-light: #8b71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#56399d",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 257.4,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43455,
    "c": 0.15477,
    "h": 292.1
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#56399D
secondary
#A7BA78
accent
#D651B0
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #56399D

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

Preview Lab → · Contrast checker → · Palette generator →

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