#56248A#56248A

#56248A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.160 H 301.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#56248A
RGBrgb(86, 36, 138)
HSLhsl(269, 59%, 34%)
HSVhsv(269, 74%, 54%)
CMYKcmyk(37.7%, 73.9%, 0%, 45.9%)
CIE-LABlab(26.95, 43.24, -47.67)
CIE-LCHlch(26.95, 64.36, 312.21°)
OKLaboklab(38.95% 0.0838 -0.1359)
OKLCHoklch(38.95% 0.16 301.7)
XYZxyz(9.0550, 5.0751, 24.5424)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56248A #588A24
analogous
#24258A #56248A #89248A
triadic
#56248A #8A5624 #248A56
tetradic
#56248A #8A2425 #588A24 #248A89
square
#56248A #8A2425 #588A24 #248A89
split-complementary
#56248A #8A8924 #258A24
monochromatic
#1A0B29 #381759 #56248A #7431BB #9356D3

Accessibility & contrast

On white

10.42
#56248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#56248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56248A
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56248A#FFFFFF#000000##FFFFFF
##56248A1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#4B3D55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #56248a;
/* rgb */ color: rgb(86, 36, 138);
/* oklch */ color: oklch(39.0% 0.160 301.7);
Tailwind
colors: {
  custom: {
    50: '#8b63ad',
    500: '#56248a',
    950: '#000000',
  },
}
SCSS
$custom: #56248a;
$custom-light: #8b63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#56248a",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 269.412,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38952,
    "c": 0.15968,
    "h": 301.7
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#56248A
secondary
#86B753
accent
#E24695
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #56248A

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

Preview Lab → · Contrast checker → · Palette generator →

#56248A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva