#56349B#56349B

#56349B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.5% C 0.159 H 293.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#56349B
RGBrgb(86, 52, 155)
HSLhsl(260, 50%, 41%)
HSVhsv(260, 66%, 61%)
CMYKcmyk(44.5%, 66.5%, 0%, 39.2%)
CIE-LABlab(31.35, 39.43, -50.97)
CIE-LCHlch(31.35, 64.44, 307.72°)
OKLaboklab(42.53% 0.0639 -0.1457)
OKLCHoklch(42.53% 0.159 293.7)
XYZxyz(10.9805, 6.8007, 31.7381)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56349B #799B34
analogous
#34459B #56349B #89349B
triadic
#56349B #9B5634 #349B56
tetradic
#56349B #9B3445 #799B34 #349B89
square
#56349B #9B3445 #799B34 #349B89
split-complementary
#56349B #9B8934 #459B34
monochromatic
#23153F #3D256D #56349B #724AC2 #9578D2

Accessibility & contrast

On white

8.90
#56349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#56349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56349B
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56349B#FFFFFF#000000##FFFFFF
##56349B1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56349b;
/* rgb */ color: rgb(86, 52, 155);
/* oklch */ color: oklch(42.5% 0.159 293.7);
Tailwind
colors: {
  custom: {
    50: '#8b6eb9',
    500: '#56349b',
    950: '#000000',
  },
}
SCSS
$custom: #56349b;
$custom-light: #8b6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#56349b",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 259.806,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42525,
    "c": 0.15908,
    "h": 293.7
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#56349B
secondary
#A2BA71
accent
#D94FAB
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #56349B

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

Preview Lab → · Contrast checker → · Palette generator →

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