#56248D#56248D

#56248D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.163 H 300.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#56248D
RGBrgb(86, 36, 141)
HSLhsl(269, 59%, 35%)
HSVhsv(269, 74%, 55%)
CMYKcmyk(39%, 74.5%, 0%, 44.7%)
CIE-LABlab(27.19, 44.01, -49.13)
CIE-LCHlch(27.19, 65.96, 311.85°)
OKLaboklab(39.21% 0.0832 -0.1402)
OKLCHoklch(39.21% 0.163 300.7)
XYZxyz(9.2752, 5.1632, 25.7021)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56248D #5B8D24
analogous
#24278D #56248D #8A248D
triadic
#56248D #8D5624 #248D56
tetradic
#56248D #8D2427 #5B8D24 #248D8A
square
#56248D #8D2427 #5B8D24 #248D8A
split-complementary
#56248D #8D8A24 #278D24
monochromatic
#1B0B2B #38185C #56248D #7430BE #9357D4

Accessibility & contrast

On white

10.33
#56248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#56248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56248D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56248D#FFFFFF#000000##FFFFFF
##56248D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#4A3E56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #56248d;
/* rgb */ color: rgb(86, 36, 141);
/* oklch */ color: oklch(39.2% 0.163 300.7);
Tailwind
colors: {
  custom: {
    50: '#8b64af',
    500: '#56248d',
    950: '#000000',
  },
}
SCSS
$custom: #56248d;
$custom-light: #8b64af;
$custom-dark: #000000;
JSON
{
  "hex": "#56248d",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 268.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39205,
    "c": 0.16303,
    "h": 300.7
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

primary
#56248D
secondary
#89B854
accent
#E34598
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #56248D

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

Preview Lab → · Contrast checker → · Palette generator →

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