#56199C#56199C

#56199C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.190 H 297.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#56199C
RGBrgb(86, 25, 156)
HSLhsl(268, 72%, 35%)
HSVhsv(268, 84%, 61%)
CMYKcmyk(44.9%, 84%, 0%, 38.8%)
CIE-LABlab(26.94, 52.38, -58.78)
CIE-LCHlch(26.94, 78.73, 311.71°)
OKLaboklab(39.44% 0.088 -0.1684)
OKLCHoklch(39.44% 0.19 297.6)
XYZxyz(10.1846, 5.0738, 31.8888)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56199C #5F9C19
analogous
#191D9C #56199C #97199C
triadic
#56199C #9C5619 #199C56
tetradic
#56199C #9C191D #5F9C19 #199C97
square
#56199C #9C191D #5F9C19 #199C97
split-complementary
#56199C #9C9719 #1D9C19
monochromatic
#1C0833 #391167 #56199C #7321D1 #934DE2

Accessibility & contrast

On white

10.42
#56199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#56199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56199C
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56199C#FFFFFF#000000##FFFFFF
##56199C1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#43405C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #56199c;
/* rgb */ color: rgb(86, 25, 156);
/* oklch */ color: oklch(39.4% 0.190 297.6);
Tailwind
colors: {
  custom: {
    50: '#8d5fba',
    500: '#56199c',
    950: '#000000',
  },
}
SCSS
$custom: #56199c;
$custom-light: #8d5fba;
$custom-dark: #000000;
JSON
{
  "hex": "#56199c",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 267.939,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39441,
    "c": 0.19002,
    "h": 297.6
  },
  "luminance": 0.05074
}

Semantic roles & 50–950 ramp

primary
#56199C
secondary
#8DC44C
accent
#EF399A
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #56199C

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

Preview Lab → · Contrast checker → · Palette generator →

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