#56347D#56347D

#56347D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.3% C 0.121 H 302.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#56347D
RGBrgb(86, 52, 125)
HSLhsl(268, 41%, 35%)
HSVhsv(268, 58%, 49%)
CMYKcmyk(31.2%, 58.4%, 0%, 51%)
CIE-LABlab(29.20, 31.09, -35.91)
CIE-LCHlch(29.20, 47.50, 310.89°)
OKLaboklab(40.28% 0.0655 -0.1014)
OKLCHoklch(40.28% 0.121 302.8)
XYZxyz(8.7666, 5.9151, 20.0779)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56347D #5B7D34
analogous
#34377D #56347D #7B347D
triadic
#56347D #7D5634 #347D56
tetradic
#56347D #7D3437 #5B7D34 #347D7B
square
#56347D #7D3437 #5B7D34 #347D7B
split-complementary
#56347D #7D7B34 #377D34
monochromatic
#1B1027 #382252 #56347D #7446A8 #936AC1

Accessibility & contrast

On white

9.62
#56347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#56347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56347D
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56347D#FFFFFF#000000##FFFFFF
##56347D1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447F
Deuteranopia (green-blind)
#23457B
Tritanopia (blue-blind)
#4F4253
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #56347d;
/* rgb */ color: rgb(86, 52, 125);
/* oklch */ color: oklch(40.3% 0.121 302.8);
Tailwind
colors: {
  custom: {
    50: '#886da3',
    500: '#56347d',
    950: '#000000',
  },
}
SCSS
$custom: #56347d;
$custom-light: #886da3;
$custom-dark: #000000;
JSON
{
  "hex": "#56347d",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 267.945,
    "s": 41.243,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40275,
    "c": 0.12071,
    "h": 302.8
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#56347D
secondary
#89A964
accent
#D15798
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #56347D

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

Preview Lab → · Contrast checker → · Palette generator →

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