#56359F#56359F

#56359F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.0% C 0.163 H 292.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#56359F
RGBrgb(86, 53, 159)
HSLhsl(259, 50%, 42%)
HSVhsv(259, 67%, 62%)
CMYKcmyk(45.9%, 66.7%, 0%, 37.6%)
CIE-LABlab(31.87, 40.01, -52.55)
CIE-LCHlch(31.87, 66.05, 307.28°)
OKLaboklab(43% 0.0624 -0.1503)
OKLCHoklch(43% 0.163 292.5)
XYZxyz(11.3671, 7.0275, 33.5517)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56359F #7E9F35
analogous
#35499F #56359F #8B359F
triadic
#56359F #9F5635 #359F56
tetradic
#56359F #9F3549 #7E9F35 #359F8B
square
#56359F #9F3549 #7E9F35 #359F8B
split-complementary
#56359F #9F8B35 #499F35
monochromatic
#241643 #3D2671 #56359F #724DC4 #977BD3

Accessibility & contrast

On white

8.73
#56359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#56359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56359F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56359F#FFFFFF#000000##FFFFFF
##56359F1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#414E65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #56359f;
/* rgb */ color: rgb(86, 53, 159);
/* oklch */ color: oklch(43.0% 0.163 292.5);
Tailwind
colors: {
  custom: {
    50: '#8c6ebc',
    500: '#56359f',
    950: '#000000',
  },
}
SCSS
$custom: #56359f;
$custom-light: #8c6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#56359f",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 258.679,
    "s": 50,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42999,
    "c": 0.16274,
    "h": 292.5
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#56359F
secondary
#A6BC74
accent
#DA4EAE
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #56359F

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

Preview Lab → · Contrast checker → · Palette generator →

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