#56247C#56247C

#56247C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.144 H 306.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#56247C
RGBrgb(86, 36, 124)
HSLhsl(274, 55%, 31%)
HSVhsv(274, 71%, 49%)
CMYKcmyk(30.6%, 71%, 0%, 51.4%)
CIE-LABlab(25.85, 39.70, -40.67)
CIE-LCHlch(25.85, 56.83, 314.31°)
OKLaboklab(37.82% 0.0862 -0.1153)
OKLCHoklch(37.82% 0.144 306.8)
XYZxyz(8.1059, 4.6955, 19.5442)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56247C #4A7C24
analogous
#2A247C #56247C #7C2476
triadic
#56247C #7C5624 #247C56
tetradic
#56247C #7C2A24 #4A7C24 #24767C
square
#56247C #7C2A24 #4A7C24 #24767C
split-complementary
#56247C #767C24 #247C2A
monochromatic
#14081D #35164D #56247C #7732AB #964FCC

Accessibility & contrast

On white

10.83
#56247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56247C
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56247C#FFFFFF#000000##FFFFFF
##56247C1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#0B3E7A
Tritanopia (blue-blind)
#50384D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #56247c;
/* rgb */ color: rgb(86, 36, 124);
/* oklch */ color: oklch(37.8% 0.144 306.8);
Tailwind
colors: {
  custom: {
    50: '#8963a2',
    500: '#56247c',
    950: '#000000',
  },
}
SCSS
$custom: #56247c;
$custom-light: #8963a2;
$custom-dark: #000000;
JSON
{
  "hex": "#56247c",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 274.091,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37825,
    "c": 0.14395,
    "h": 306.8
  },
  "luminance": 0.04695
}

Semantic roles & 50–950 ramp

primary
#56247C
secondary
#77AE4D
accent
#DE498A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #56247C

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

Preview Lab → · Contrast checker → · Palette generator →

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