#56328F#56328F

#56328F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.3% C 0.147 H 297.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#56328F
RGBrgb(86, 50, 143)
HSLhsl(263, 48%, 38%)
HSVhsv(263, 65%, 56%)
CMYKcmyk(39.9%, 65%, 0%, 43.9%)
CIE-LABlab(30.02, 37.18, -45.79)
CIE-LCHlch(30.02, 58.98, 309.08°)
OKLaboklab(41.27% 0.0675 -0.1304)
OKLCHoklch(41.27% 0.147 297.4)
XYZxyz(9.9350, 6.2426, 26.6628)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56328F #6B8F32
analogous
#323C8F #56328F #85328F
triadic
#56328F #8F5632 #328F56
tetradic
#56328F #8F323C #6B8F32 #328F85
square
#56328F #8F323C #6B8F32 #328F85
split-complementary
#56328F #8F8532 #3C8F32
monochromatic
#1F1234 #3B2262 #56328F #7142BC #936FCD

Accessibility & contrast

On white

9.34
#56328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#56328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56328F
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56328F#FFFFFF#000000##FFFFFF
##56328F1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#48475C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #56328f;
/* rgb */ color: rgb(86, 50, 143);
/* oklch */ color: oklch(41.3% 0.147 297.4);
Tailwind
colors: {
  custom: {
    50: '#8a6cb0',
    500: '#56328f',
    950: '#000000',
  },
}
SCSS
$custom: #56328f;
$custom-light: #8a6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#56328f",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 263.226,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41274,
    "c": 0.14684,
    "h": 297.4
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#56328F
secondary
#97B468
accent
#D850A3
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #56328F

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

Preview Lab → · Contrast checker → · Palette generator →

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