#56348E#56348E

#56348E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.143 H 297.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#56348E
RGBrgb(86, 52, 142)
HSLhsl(263, 46%, 38%)
HSVhsv(263, 63%, 56%)
CMYKcmyk(39.4%, 63.4%, 0%, 44.3%)
CIE-LABlab(30.37, 35.76, -44.60)
CIE-LCHlch(30.37, 57.16, 308.72°)
OKLaboklab(41.51% 0.0651 -0.1269)
OKLCHoklch(41.51% 0.143 297.2)
XYZxyz(9.9470, 6.3872, 26.2947)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56348E #6C8E34
analogous
#343F8E #56348E #83348E
triadic
#56348E #8E5634 #348E56
tetradic
#56348E #8E343F #6C8E34 #348E83
square
#56348E #8E343F #6C8E34 #348E83
split-complementary
#56348E #8E8334 #3F8E34
monochromatic
#201334 #3B2461 #56348E #7144BB #9371CB

Accessibility & contrast

On white

9.22
#56348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#56348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56348E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56348E#FFFFFF#000000##FFFFFF
##56348E1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#07468C
Tritanopia (blue-blind)
#49485C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #56348e;
/* rgb */ color: rgb(86, 52, 142);
/* oklch */ color: oklch(41.5% 0.143 297.2);
Tailwind
colors: {
  custom: {
    50: '#8a6db0',
    500: '#56348e',
    950: '#000000',
  },
}
SCSS
$custom: #56348e;
$custom-light: #8a6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#56348e",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 262.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.14266,
    "h": 297.2
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#56348E
secondary
#98B36A
accent
#D652A4
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #56348E

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

Preview Lab → · Contrast checker → · Palette generator →

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