#56279C#56279C

#56279C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.176 H 295.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#56279C
RGBrgb(86, 39, 156)
HSLhsl(264, 60%, 38%)
HSVhsv(264, 75%, 61%)
CMYKcmyk(44.9%, 75%, 0%, 38.8%)
CIE-LABlab(28.98, 46.52, -55.44)
CIE-LCHlch(28.98, 72.37, 310.00°)
OKLaboklab(40.86% 0.0769 -0.1587)
OKLCHoklch(40.86% 0.176 295.9)
XYZxyz(10.5624, 5.8295, 32.0147)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56279C #6D9C27
analogous
#27329C #56279C #90279C
triadic
#56279C #9C5627 #279C56
tetradic
#56279C #9C2732 #6D9C27 #279C90
square
#56279C #9C2732 #6D9C27 #279C90
split-complementary
#56279C #9C9027 #329C27
monochromatic
#200F3A #3B1B6B #56279C #7134CC #9365D8

Accessibility & contrast

On white

9.70
#56279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#56279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56279C
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56279C#FFFFFF#000000##FFFFFF
##56279C1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#43465F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #56279c;
/* rgb */ color: rgb(86, 39, 156);
/* oklch */ color: oklch(40.9% 0.176 295.9);
Tailwind
colors: {
  custom: {
    50: '#8c66ba',
    500: '#56279c',
    950: '#000000',
  },
}
SCSS
$custom: #56279c;
$custom-light: #8c66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#56279c",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 264.103,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4086,
    "c": 0.1764,
    "h": 295.9
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#56279C
secondary
#99BE61
accent
#E345A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56279C

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

Preview Lab → · Contrast checker → · Palette generator →

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