#56208F#56208F

#56208F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.170 H 300.6°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#56208F
RGBrgb(86, 32, 143)
HSLhsl(269, 63%, 34%)
HSVhsv(269, 78%, 56%)
CMYKcmyk(39.9%, 77.6%, 0%, 43.9%)
CIE-LABlab(26.72, 46.36, -51.15)
CIE-LCHlch(26.72, 69.03, 312.19°)
OKLaboklab(38.92% 0.0866 -0.1461)
OKLCHoklch(38.92% 0.17 300.6)
XYZxyz(9.3110, 4.9946, 26.4548)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56208F #598F20
analogous
#20228F #56208F #8E208F
triadic
#56208F #8F5620 #208F56
tetradic
#56208F #8F2022 #598F20 #208F8E
square
#56208F #8F2022 #598F20 #208F8E
split-complementary
#56208F #8F8E20 #228F20
monochromatic
#1A0A2B #38155D #56208F #742BC1 #9351D8

Accessibility & contrast

On white

10.51
#56208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#56208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56208F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56208F#FFFFFF#000000##FFFFFF
##56208F1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#493D56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #56208f;
/* rgb */ color: rgb(86, 32, 143);
/* oklch */ color: oklch(38.9% 0.170 300.6);
Tailwind
colors: {
  custom: {
    50: '#8b62b1',
    500: '#56208f',
    950: '#000000',
  },
}
SCSS
$custom: #56208f;
$custom-light: #8b62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#56208f",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 269.189,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38922,
    "c": 0.1698,
    "h": 300.6
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#56208F
secondary
#87BB4F
accent
#E64196
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #56208F

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

Preview Lab → · Contrast checker → · Palette generator →

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