#56149E#56149E

#56149E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.3% C 0.196 H 297.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#56149E
RGBrgb(86, 20, 158)
HSLhsl(269, 78%, 35%)
HSVhsv(269, 87%, 62%)
CMYKcmyk(45.6%, 87.3%, 0%, 38%)
CIE-LABlab(26.58, 54.50, -60.59)
CIE-LCHlch(26.58, 81.50, 311.97°)
OKLaboklab(39.25% 0.0903 -0.1737)
OKLCHoklch(39.25% 0.196 297.5)
XYZxyz(10.2578, 4.9472, 32.7556)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56149E #5C9E14
analogous
#14179E #56149E #9B149E
triadic
#56149E #9E5614 #149E56
tetradic
#56149E #9E1417 #5C9E14 #149E9B
square
#56149E #9E1417 #5C9E14 #149E9B
split-complementary
#56149E #9E9B14 #179E14
monochromatic
#1B0631 #380D68 #56149E #741BD4 #9345E7

Accessibility & contrast

On white

10.56
#56149E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#56149E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56149E
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56149E#FFFFFF#000000##FFFFFF
##56149E1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA2
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#423F5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #56149e;
/* rgb */ color: rgb(86, 20, 158);
/* oklch */ color: oklch(39.3% 0.196 297.5);
Tailwind
colors: {
  custom: {
    50: '#8e5ebc',
    500: '#56149e',
    950: '#000000',
  },
}
SCSS
$custom: #56149e;
$custom-light: #8e5ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#56149e",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 158
  },
  "hsl": {
    "h": 268.696,
    "s": 77.528,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39253,
    "c": 0.19576,
    "h": 297.5
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#56149E
secondary
#8AC846
accent
#F43498
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #56149E

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

Preview Lab → · Contrast checker → · Palette generator →

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