#56349A#56349A

#56349A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.4% C 0.158 H 293.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#56349A
RGBrgb(86, 52, 154)
HSLhsl(260, 50%, 40%)
HSVhsv(260, 66%, 60%)
CMYKcmyk(44.2%, 66.2%, 0%, 39.6%)
CIE-LABlab(31.27, 39.14, -50.49)
CIE-LCHlch(31.27, 63.89, 307.79°)
OKLaboklab(42.45% 0.064 -0.1442)
OKLCHoklch(42.45% 0.158 293.9)
XYZxyz(10.8969, 6.7672, 31.2977)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56349A #789A34
analogous
#34459A #56349A #89349A
triadic
#56349A #9A5634 #349A56
tetradic
#56349A #9A3445 #789A34 #349A89
square
#56349A #9A3445 #789A34 #349A89
split-complementary
#56349A #9A8934 #459A34
monochromatic
#23153E #3C256C #56349A #7249C2 #9577D1

Accessibility & contrast

On white

8.92
#56349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#56349A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56349A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56349A#FFFFFF#000000##FFFFFF
##56349A1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#434C62
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #56349a;
/* rgb */ color: rgb(86, 52, 154);
/* oklch */ color: oklch(42.4% 0.158 293.9);
Tailwind
colors: {
  custom: {
    50: '#8b6eb9',
    500: '#56349a',
    950: '#000000',
  },
}
SCSS
$custom: #56349a;
$custom-light: #8b6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#56349a",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 260,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42445,
    "c": 0.15783,
    "h": 293.9
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#56349A
secondary
#A1BA70
accent
#D94FAB
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #56349A

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

Preview Lab → · Contrast checker → · Palette generator →

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