#56359B#56359B

#56359B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.7% C 0.158 H 293.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#56359B
RGBrgb(86, 53, 155)
HSLhsl(259, 49%, 41%)
HSVhsv(259, 66%, 61%)
CMYKcmyk(44.5%, 65.8%, 0%, 39.2%)
CIE-LABlab(31.56, 38.86, -50.63)
CIE-LCHlch(31.56, 63.83, 307.51°)
OKLaboklab(42.68% 0.0628 -0.1447)
OKLCHoklch(42.68% 0.158 293.5)
XYZxyz(11.0256, 6.8909, 31.7531)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56359B #7A9B35
analogous
#35479B #56359B #89359B
triadic
#56359B #9B5635 #359B56
tetradic
#56359B #9B3547 #7A9B35 #359B89
square
#56359B #9B3547 #7A9B35 #359B89
split-complementary
#56359B #9B8935 #479B35
monochromatic
#231640 #3D256D #56359B #724CC2 #9679D1

Accessibility & contrast

On white

8.83
#56359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#56359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56359B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56359B#FFFFFF#000000##FFFFFF
##56359B1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#434D63
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #56359b;
/* rgb */ color: rgb(86, 53, 155);
/* oklch */ color: oklch(42.7% 0.158 293.5);
Tailwind
colors: {
  custom: {
    50: '#8b6eb9',
    500: '#56359b',
    950: '#000000',
  },
}
SCSS
$custom: #56359b;
$custom-light: #8b6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#56359b",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 259.412,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42676,
    "c": 0.15773,
    "h": 293.5
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#56359B
secondary
#A3BA72
accent
#D94FAC
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #56359B

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

Preview Lab → · Contrast checker → · Palette generator →

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