#56248B#56248B

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

Color values

HEX#56248B
RGBrgb(86, 36, 139)
HSLhsl(269, 59%, 34%)
HSVhsv(269, 74%, 55%)
CMYKcmyk(38.1%, 74.1%, 0%, 45.5%)
CIE-LABlab(27.03, 43.50, -48.16)
CIE-LCHlch(27.03, 64.89, 312.09°)
OKLaboklab(39.04% 0.0836 -0.1373)
OKLCHoklch(39.04% 0.161 301.3)
XYZxyz(9.1277, 5.1042, 24.9254)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56248B #598B24
analogous
#24268B #56248B #8A248B
triadic
#56248B #8B5624 #248B56
tetradic
#56248B #8B2426 #598B24 #248B8A
square
#56248B #8B2426 #598B24 #248B8A
split-complementary
#56248B #8B8A24 #268B24
monochromatic
#1A0B2A #38175A #56248B #7431BC #9356D3

Accessibility & contrast

On white

10.39
#56248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56248B
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56248B#FFFFFF#000000##FFFFFF
##56248B1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#4A3D55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #56248b;
/* rgb */ color: rgb(86, 36, 139);
/* oklch */ color: oklch(39.0% 0.161 301.3);
Tailwind
colors: {
  custom: {
    50: '#8b64ae',
    500: '#56248b',
    950: '#000000',
  },
}
SCSS
$custom: #56248b;
$custom-light: #8b64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#56248b",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 269.126,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39036,
    "c": 0.1608,
    "h": 301.3
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#56248B
secondary
#87B753
accent
#E24696
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #56248B

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

Preview Lab → · Contrast checker → · Palette generator →

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