#56348D#56348D

#56348D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.4% C 0.141 H 297.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#56348D
RGBrgb(86, 52, 141)
HSLhsl(263, 46%, 38%)
HSVhsv(263, 63%, 55%)
CMYKcmyk(39%, 63.1%, 0%, 44.7%)
CIE-LABlab(30.30, 35.48, -44.10)
CIE-LCHlch(30.30, 56.60, 308.82°)
OKLaboklab(41.43% 0.0652 -0.1255)
OKLCHoklch(41.43% 0.141 297.5)
XYZxyz(9.8722, 6.3574, 25.9011)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56348D #6B8D34
analogous
#343F8D #56348D #82348D
triadic
#56348D #8D5634 #348D56
tetradic
#56348D #8D343F #6B8D34 #348D82
square
#56348D #8D343F #6B8D34 #348D82
split-complementary
#56348D #8D8234 #3F8D34
monochromatic
#1F1334 #3B2460 #56348D #7144BA #9371CB

Accessibility & contrast

On white

9.24
#56348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#56348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56348D
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56348D#FFFFFF#000000##FFFFFF
##56348D1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#0A468B
Tritanopia (blue-blind)
#49485B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #56348d;
/* rgb */ color: rgb(86, 52, 141);
/* oklch */ color: oklch(41.4% 0.141 297.5);
Tailwind
colors: {
  custom: {
    50: '#8a6daf',
    500: '#56348d',
    950: '#000000',
  },
}
SCSS
$custom: #56348d;
$custom-light: #8a6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#56348d",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 262.921,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41431,
    "c": 0.14139,
    "h": 297.5
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#56348D
secondary
#97B36A
accent
#D652A3
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #56348D

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

Preview Lab → · Contrast checker → · Palette generator →

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