#56247A#56247A

#56247A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.142 H 307.6°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#56247A
RGBrgb(86, 36, 122)
HSLhsl(275, 54%, 31%)
HSVhsv(275, 70%, 48%)
CMYKcmyk(29.5%, 70.5%, 0%, 52.2%)
CIE-LABlab(25.70, 39.21, -39.64)
CIE-LCHlch(25.70, 55.75, 314.69°)
OKLaboklab(37.67% 0.0864 -0.1123)
OKLCHoklch(37.67% 0.142 307.6)
XYZxyz(7.9807, 4.6454, 18.8848)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56247A #487A24
analogous
#2B247A #56247A #7A2473
triadic
#56247A #7A5624 #247A56
tetradic
#56247A #7A2B24 #487A24 #24737A
square
#56247A #7A2B24 #487A24 #24737A
split-complementary
#56247A #737A24 #247A2B
monochromatic
#13081B #35164B #56247A #7732A9 #964ECB

Accessibility & contrast

On white

10.89
#56247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#56247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56247A
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56247A#FFFFFF#000000##FFFFFF
##56247A1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#103D78
Tritanopia (blue-blind)
#50374C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #56247a;
/* rgb */ color: rgb(86, 36, 122);
/* oklch */ color: oklch(37.7% 0.142 307.6);
Tailwind
colors: {
  custom: {
    50: '#8963a1',
    500: '#56247a',
    950: '#000000',
  },
}
SCSS
$custom: #56247a;
$custom-light: #8963a1;
$custom-dark: #000000;
JSON
{
  "hex": "#56247a",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 274.884,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3767,
    "c": 0.14169,
    "h": 307.6
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#56247A
secondary
#75AC4D
accent
#DE4A88
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #56247A

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

Preview Lab → · Contrast checker → · Palette generator →

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