#56148E#56148E

#56148E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.180 H 302.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#56148E
RGBrgb(86, 20, 142)
HSLhsl(272, 75%, 32%)
HSVhsv(272, 86%, 56%)
CMYKcmyk(39.4%, 85.9%, 0%, 44.3%)
CIE-LABlab(25.05, 50.70, -53.25)
CIE-LCHlch(25.05, 73.53, 313.59°)
OKLaboklab(37.73% 0.0963 -0.1522)
OKLCHoklch(37.73% 0.18 302.3)
XYZxyz(8.9692, 4.4317, 25.9688)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56148E #4C8E14
analogous
#19148E #56148E #8E1489
triadic
#56148E #8E5614 #148E56
tetradic
#56148E #8E1914 #4C8E14 #14898E
square
#56148E #8E1914 #4C8E14 #14898E
split-complementary
#56148E #898E14 #148E19
monochromatic
#150523 #360C58 #56148E #761CC4 #9539E3

Accessibility & contrast

On white

11.13
#56148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#56148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56148E
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56148E#FFFFFF#000000##FFFFFF
##56148E1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#4A3853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #56148e;
/* rgb */ color: rgb(86, 20, 142);
/* oklch */ color: oklch(37.7% 0.180 302.3);
Tailwind
colors: {
  custom: {
    50: '#8c5cb0',
    500: '#56148e',
    950: '#000000',
  },
}
SCSS
$custom: #56148e;
$custom-light: #8c5cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#56148e",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 272.459,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37733,
    "c": 0.18008,
    "h": 302.3
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#56148E
secondary
#79C23C
accent
#F2368C
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #56148E

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

Preview Lab → · Contrast checker → · Palette generator →

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