#56347E#56347E

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

Color values

HEX#56347E
RGBrgb(86, 52, 126)
HSLhsl(268, 42%, 35%)
HSVhsv(268, 59%, 49%)
CMYKcmyk(31.7%, 58.7%, 0%, 50.6%)
CIE-LABlab(29.26, 31.36, -36.43)
CIE-LCHlch(29.26, 48.07, 310.72°)
OKLaboklab(40.34% 0.0655 -0.1029)
OKLCHoklch(40.34% 0.122 302.5)
XYZxyz(8.8308, 5.9408, 20.4161)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56347E #5C7E34
analogous
#34377E #56347E #7B347E
triadic
#56347E #7E5634 #347E56
tetradic
#56347E #7E3437 #5C7E34 #347E7B
square
#56347E #7E3437 #5C7E34 #347E7B
split-complementary
#56347E #7E7B34 #377E34
monochromatic
#1B1027 #382253 #56347E #7446A9 #936BC2

Accessibility & contrast

On white

9.60
#56347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#56347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56347E
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56347E#FFFFFF#000000##FFFFFF
##56347E1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154480
Deuteranopia (green-blind)
#22457C
Tritanopia (blue-blind)
#4E4354
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #56347e;
/* rgb */ color: rgb(86, 52, 126);
/* oklch */ color: oklch(40.3% 0.122 302.5);
Tailwind
colors: {
  custom: {
    50: '#886da4',
    500: '#56347e',
    950: '#000000',
  },
}
SCSS
$custom: #56347e;
$custom-light: #886da4;
$custom-dark: #000000;
JSON
{
  "hex": "#56347e",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 267.568,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40344,
    "c": 0.12201,
    "h": 302.5
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#56347E
secondary
#8AAA64
accent
#D15699
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #56347E

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

Preview Lab → · Contrast checker → · Palette generator →

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