#56148D#56148D

#56148D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.179 H 302.7°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#56148D
RGBrgb(86, 20, 141)
HSLhsl(273, 75%, 32%)
HSVhsv(273, 86%, 55%)
CMYKcmyk(39%, 85.8%, 0%, 44.7%)
CIE-LABlab(24.96, 50.46, -52.78)
CIE-LCHlch(24.96, 73.02, 313.71°)
OKLaboklab(37.64% 0.0966 -0.1508)
OKLCHoklch(37.64% 0.179 302.7)
XYZxyz(8.8945, 4.4018, 25.5752)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56148D #4B8D14
analogous
#19148D #56148D #8D1488
triadic
#56148D #8D5614 #148D56
tetradic
#56148D #8D1914 #4B8D14 #14888D
square
#56148D #8D1914 #4B8D14 #14888D
split-complementary
#56148D #888D14 #148D19
monochromatic
#150522 #350C57 #56148D #771CC3 #9539E3

Accessibility & contrast

On white

11.17
#56148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#56148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56148D
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56148D#FFFFFF#000000##FFFFFF
##56148D1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#4A3753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #56148d;
/* rgb */ color: rgb(86, 20, 141);
/* oklch */ color: oklch(37.6% 0.179 302.7);
Tailwind
colors: {
  custom: {
    50: '#8c5caf',
    500: '#56148d',
    950: '#000000',
  },
}
SCSS
$custom: #56148d;
$custom-light: #8c5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#56148d",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 272.727,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37641,
    "c": 0.1791,
    "h": 302.7
  },
  "luminance": 0.04402
}

Semantic roles & 50–950 ramp

primary
#56148D
secondary
#78C13C
accent
#F2368B
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #56148D

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

Preview Lab → · Contrast checker → · Palette generator →

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