#56348F#56348F

#56348F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.6% C 0.144 H 296.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#56348F
RGBrgb(86, 52, 143)
HSLhsl(262, 47%, 38%)
HSVhsv(262, 64%, 56%)
CMYKcmyk(39.9%, 63.6%, 0%, 43.9%)
CIE-LABlab(30.44, 36.04, -45.10)
CIE-LCHlch(30.44, 57.73, 308.63°)
OKLaboklab(41.58% 0.0651 -0.1284)
OKLCHoklch(41.58% 0.144 296.9)
XYZxyz(10.0224, 6.4174, 26.6919)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56348F #6D8F34
analogous
#343F8F #56348F #83348F
triadic
#56348F #8F5634 #348F56
tetradic
#56348F #8F343F #6D8F34 #348F83
square
#56348F #8F343F #6D8F34 #348F83
split-complementary
#56348F #8F8334 #3F8F34
monochromatic
#201335 #3B2462 #56348F #7145BB #9372CC

Accessibility & contrast

On white

9.20
#56348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56348F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56348F#FFFFFF#000000##FFFFFF
##56348F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#04478D
Tritanopia (blue-blind)
#48485C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #56348f;
/* rgb */ color: rgb(86, 52, 143);
/* oklch */ color: oklch(41.6% 0.144 296.9);
Tailwind
colors: {
  custom: {
    50: '#8a6db0',
    500: '#56348f',
    950: '#000000',
  },
}
SCSS
$custom: #56348f;
$custom-light: #8a6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#56348f",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 262.418,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41583,
    "c": 0.14394,
    "h": 296.9
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#56348F
secondary
#99B46B
accent
#D651A5
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #56348F

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

Preview Lab → · Contrast checker → · Palette generator →

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