#56209F#56209F

#56209F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.187 H 296.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#56209F
RGBrgb(86, 32, 159)
HSLhsl(266, 66%, 37%)
HSVhsv(266, 80%, 62%)
CMYKcmyk(45.9%, 79.9%, 0%, 37.6%)
CIE-LABlab(28.15, 50.44, -58.62)
CIE-LCHlch(28.15, 77.33, 310.71°)
OKLaboklab(40.37% 0.082 -0.168)
OKLCHoklch(40.37% 0.187 296)
XYZxyz(10.6106, 5.5144, 33.2995)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56209F #699F20
analogous
#20299F #56209F #96209F
triadic
#56209F #9F5620 #209F56
tetradic
#56209F #9F2029 #699F20 #209F96
square
#56209F #9F2029 #699F20 #209F96
split-complementary
#56209F #9F9620 #299F20
monochromatic
#1F0B39 #3A166C #56209F #722AD2 #935BDE

Accessibility & contrast

On white

9.99
#56209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#56209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56209F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56209F#FFFFFF#000000##FFFFFF
##56209F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#424460
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #56209f;
/* rgb */ color: rgb(86, 32, 159);
/* oklch */ color: oklch(40.4% 0.187 296.0);
Tailwind
colors: {
  custom: {
    50: '#8d63bc',
    500: '#56209f',
    950: '#000000',
  },
}
SCSS
$custom: #56209f;
$custom-light: #8d63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56209f",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 265.512,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40365,
    "c": 0.18697,
    "h": 296
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#56209F
secondary
#95C259
accent
#E93EA1
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56209F

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

Preview Lab → · Contrast checker → · Palette generator →

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