#56328E#56328E

#56328E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.146 H 297.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#56328E
RGBrgb(86, 50, 142)
HSLhsl(263, 48%, 38%)
HSVhsv(263, 65%, 56%)
CMYKcmyk(39.4%, 64.8%, 0%, 44.3%)
CIE-LABlab(29.94, 36.91, -45.29)
CIE-LCHlch(29.94, 58.42, 309.18°)
OKLaboklab(41.2% 0.0676 -0.129)
OKLCHoklch(41.2% 0.146 297.6)
XYZxyz(9.8596, 6.2125, 26.2656)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56328E #6A8E32
analogous
#323C8E #56328E #84328E
triadic
#56328E #8E5632 #328E56
tetradic
#56328E #8E323C #6A8E32 #328E84
square
#56328E #8E323C #6A8E32 #328E84
split-complementary
#56328E #8E8432 #3C8E32
monochromatic
#1F1233 #3B2261 #56328E #7142BB #936ECC

Accessibility & contrast

On white

9.36
#56328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#56328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56328E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56328E#FFFFFF#000000##FFFFFF
##56328E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#49475B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #56328e;
/* rgb */ color: rgb(86, 50, 142);
/* oklch */ color: oklch(41.2% 0.146 297.6);
Tailwind
colors: {
  custom: {
    50: '#8a6cb0',
    500: '#56328e',
    950: '#000000',
  },
}
SCSS
$custom: #56328e;
$custom-light: #8a6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#56328e",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 263.478,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41197,
    "c": 0.14559,
    "h": 297.6
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#56328E
secondary
#96B468
accent
#D850A3
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #56328E

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

Preview Lab → · Contrast checker → · Palette generator →

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