#56349F#56349F

#56349F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.164 H 292.7°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#56349F
RGBrgb(86, 52, 159)
HSLhsl(259, 51%, 41%)
HSVhsv(259, 67%, 62%)
CMYKcmyk(45.9%, 67.3%, 0%, 37.6%)
CIE-LABlab(31.66, 40.57, -52.89)
CIE-LCHlch(31.66, 66.66, 307.49°)
OKLaboklab(42.85% 0.0634 -0.1513)
OKLCHoklch(42.85% 0.164 292.7)
XYZxyz(11.3220, 6.9373, 33.5367)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56349F #7D9F34
analogous
#34489F #56349F #8C349F
triadic
#56349F #9F5634 #349F56
tetradic
#56349F #9F3448 #7D9F34 #349F8C
square
#56349F #9F3448 #7D9F34 #349F8C
split-complementary
#56349F #9F8C34 #489F34
monochromatic
#241643 #3D2571 #56349F #724CC4 #967AD3

Accessibility & contrast

On white

8.80
#56349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#56349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56349F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56349F#FFFFFF#000000##FFFFFF
##56349F1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56349f;
/* rgb */ color: rgb(86, 52, 159);
/* oklch */ color: oklch(42.9% 0.164 292.7);
Tailwind
colors: {
  custom: {
    50: '#8c6ebc',
    500: '#56349f',
    950: '#000000',
  },
}
SCSS
$custom: #56349f;
$custom-light: #8c6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#56349f",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 259.065,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42851,
    "c": 0.16405,
    "h": 292.7
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#56349F
secondary
#A5BC73
accent
#DA4EAE
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #56349F

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

Preview Lab → · Contrast checker → · Palette generator →

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