#56349E#56349E

#56349E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.8% C 0.163 H 293.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#56349E
RGBrgb(86, 52, 158)
HSLhsl(259, 50%, 41%)
HSVhsv(259, 67%, 62%)
CMYKcmyk(45.6%, 67.1%, 0%, 38%)
CIE-LABlab(31.58, 40.28, -52.41)
CIE-LCHlch(31.58, 66.10, 307.55°)
OKLaboklab(42.77% 0.0636 -0.1499)
OKLCHoklch(42.77% 0.163 293)
XYZxyz(11.2356, 6.9027, 33.0815)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56349E #7C9E34
analogous
#34479E #56349E #8B349E
triadic
#56349E #9E5634 #349E56
tetradic
#56349E #9E3447 #7C9E34 #349E8B
square
#56349E #9E3447 #7C9E34 #349E8B
split-complementary
#56349E #9E8B34 #479E34
monochromatic
#241642 #3D2570 #56349E #724BC4 #9679D3

Accessibility & contrast

On white

8.82
#56349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#56349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56349E
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56349E#FFFFFF#000000##FFFFFF
##56349E1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#414D64
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #56349e;
/* rgb */ color: rgb(86, 52, 158);
/* oklch */ color: oklch(42.8% 0.163 293.0);
Tailwind
colors: {
  custom: {
    50: '#8c6ebb',
    500: '#56349e',
    950: '#000000',
  },
}
SCSS
$custom: #56349e;
$custom-light: #8c6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#56349e",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 259.245,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42769,
    "c": 0.16281,
    "h": 293
  },
  "luminance": 0.06903
}

Semantic roles & 50–950 ramp

primary
#56349E
secondary
#A4BC72
accent
#DA4EAD
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #56349E

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

Preview Lab → · Contrast checker → · Palette generator →

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