#56148F#56148F

#56148F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.181 H 302.0°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#56148F
RGBrgb(86, 20, 143)
HSLhsl(272, 75%, 32%)
HSVhsv(272, 86%, 56%)
CMYKcmyk(39.9%, 86%, 0%, 43.9%)
CIE-LABlab(25.14, 50.93, -53.72)
CIE-LCHlch(25.14, 74.03, 313.47°)
OKLaboklab(37.82% 0.0959 -0.1535)
OKLCHoklch(37.82% 0.181 302)
XYZxyz(9.0446, 4.4619, 26.3660)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56148F #4D8F14
analogous
#19148F #56148F #8F148B
triadic
#56148F #8F5614 #148F56
tetradic
#56148F #8F1914 #4D8F14 #148B8F
square
#56148F #8F1914 #4D8F14 #148B8F
split-complementary
#56148F #8B8F14 #148F19
monochromatic
#150524 #360C59 #56148F #761CC5 #953AE3

Accessibility & contrast

On white

11.10
#56148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56148F
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56148F#FFFFFF#000000##FFFFFF
##56148F1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#493854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #56148f;
/* rgb */ color: rgb(86, 20, 143);
/* oklch */ color: oklch(37.8% 0.181 302.0);
Tailwind
colors: {
  custom: {
    50: '#8c5cb1',
    500: '#56148f',
    950: '#000000',
  },
}
SCSS
$custom: #56148f;
$custom-light: #8c5cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#56148f",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 272.195,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37825,
    "c": 0.18106,
    "h": 302
  },
  "luminance": 0.04462
}

Semantic roles & 50–950 ramp

primary
#56148F
secondary
#7AC33C
accent
#F2368D
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #56148F

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

Preview Lab → · Contrast checker → · Palette generator →

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