#56247D#56247D

#56247D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.145 H 306.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#56247D
RGBrgb(86, 36, 125)
HSLhsl(274, 55%, 32%)
HSVhsv(274, 71%, 49%)
CMYKcmyk(31.2%, 71.2%, 0%, 51%)
CIE-LABlab(25.92, 39.95, -41.18)
CIE-LCHlch(25.92, 57.37, 314.13°)
OKLaboklab(37.9% 0.086 -0.1168)
OKLCHoklch(37.9% 0.145 306.4)
XYZxyz(8.1695, 4.7209, 19.8789)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56247D #4B7D24
analogous
#2A247D #56247D #7D2478
triadic
#56247D #7D5624 #247D56
tetradic
#56247D #7D2A24 #4B7D24 #24787D
square
#56247D #7D2A24 #4B7D24 #24787D
split-complementary
#56247D #787D24 #247D2A
monochromatic
#15091E #35164D #56247D #7732AD #954FCC

Accessibility & contrast

On white

10.80
#56247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#56247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56247D
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56247D#FFFFFF#000000##FFFFFF
##56247D1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#093E7B
Tritanopia (blue-blind)
#4F384D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #56247d;
/* rgb */ color: rgb(86, 36, 125);
/* oklch */ color: oklch(37.9% 0.145 306.4);
Tailwind
colors: {
  custom: {
    50: '#8963a3',
    500: '#56247d',
    950: '#000000',
  },
}
SCSS
$custom: #56247d;
$custom-light: #8963a3;
$custom-dark: #000000;
JSON
{
  "hex": "#56247d",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 273.708,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37902,
    "c": 0.14508,
    "h": 306.4
  },
  "luminance": 0.04721
}

Semantic roles & 50–950 ramp

primary
#56247D
secondary
#78AF4D
accent
#DF498B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #56247D

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

Preview Lab → · Contrast checker → · Palette generator →

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