#56347A#56347A

#56347A is a dark, moderate violet. Relative luminance 0.058; OKLCH L 40.1% C 0.117 H 304.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#56347A
RGBrgb(86, 52, 122)
HSLhsl(269, 40%, 34%)
HSVhsv(269, 57%, 48%)
CMYKcmyk(29.5%, 57.4%, 0%, 52.2%)
CIE-LABlab(29.00, 30.29, -34.33)
CIE-LCHlch(29.00, 45.79, 311.42°)
OKLaboklab(40.07% 0.0654 -0.0968)
OKLCHoklch(40.07% 0.117 304)
XYZxyz(8.5778, 5.8396, 19.0838)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56347A #587A34
analogous
#34357A #56347A #79347A
triadic
#56347A #7A5634 #347A56
tetradic
#56347A #7A3435 #587A34 #347A79
square
#56347A #7A3435 #587A34 #347A79
split-complementary
#56347A #7A7934 #357A34
monochromatic
#1A0F24 #38224F #56347A #7446A5 #9369BF

Accessibility & contrast

On white

9.69
#56347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#56347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56347A
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56347A#FFFFFF#000000##FFFFFF
##56347A1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447C
Deuteranopia (green-blind)
#264478
Tritanopia (blue-blind)
#504152
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #56347a;
/* rgb */ color: rgb(86, 52, 122);
/* oklch */ color: oklch(40.1% 0.117 304.0);
Tailwind
colors: {
  custom: {
    50: '#886da1',
    500: '#56347a',
    950: '#000000',
  },
}
SCSS
$custom: #56347a;
$custom-light: #886da1;
$custom-dark: #000000;
JSON
{
  "hex": "#56347a",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 269.143,
    "s": 40.23,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40071,
    "c": 0.1168,
    "h": 304
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#56347A
secondary
#86A763
accent
#D05896
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070F
muted
#7D7A7E

Preview Lab

Preview with #56347A

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

Preview Lab → · Contrast checker → · Palette generator →

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