#56199E#56199E

#56199E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.6% C 0.192 H 297.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#56199E
RGBrgb(86, 25, 158)
HSLhsl(268, 73%, 36%)
HSVhsv(268, 84%, 62%)
CMYKcmyk(45.6%, 84.2%, 0%, 38%)
CIE-LABlab(27.14, 52.88, -59.68)
CIE-LCHlch(27.14, 79.74, 311.54°)
OKLaboklab(39.63% 0.0873 -0.1711)
OKLCHoklch(39.63% 0.192 297)
XYZxyz(10.3553, 5.1421, 32.7881)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56199E #619E19
analogous
#191E9E #56199E #98199E
triadic
#56199E #9E5619 #199E56
tetradic
#56199E #9E191E #619E19 #199E98
square
#56199E #9E191E #619E19 #199E98
split-complementary
#56199E #9E9819 #1E9E19
monochromatic
#1C0834 #391169 #56199E #7321D3 #934EE3

Accessibility & contrast

On white

10.35
#56199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#56199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56199E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56199E#FFFFFF#000000##FFFFFF
##56199E1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#42415E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #56199e;
/* rgb */ color: rgb(86, 25, 158);
/* oklch */ color: oklch(39.6% 0.192 297.0);
Tailwind
colors: {
  custom: {
    50: '#8e5fbc',
    500: '#56199e',
    950: '#000000',
  },
}
SCSS
$custom: #56199e;
$custom-light: #8e5fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#56199e",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 267.519,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39632,
    "c": 0.19206,
    "h": 297
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#56199E
secondary
#8EC54E
accent
#EF389B
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #56199E

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

Preview Lab → · Contrast checker → · Palette generator →

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