#56279A#56279A

#56279A is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.174 H 296.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#56279A
RGBrgb(86, 39, 154)
HSLhsl(265, 60%, 38%)
HSVhsv(265, 75%, 60%)
CMYKcmyk(44.2%, 74.7%, 0%, 39.6%)
CIE-LABlab(28.80, 45.98, -54.51)
CIE-LCHlch(28.80, 71.31, 310.15°)
OKLaboklab(40.68% 0.0774 -0.156)
OKLCHoklch(40.68% 0.174 296.4)
XYZxyz(10.3945, 5.7623, 31.1302)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56279A #6B9A27
analogous
#27319A #56279A #8F279A
triadic
#56279A #9A5627 #279A56
tetradic
#56279A #9A2731 #6B9A27 #279A8F
square
#56279A #9A2731 #6B9A27 #279A8F
split-complementary
#56279A #9A8F27 #319A27
monochromatic
#1F0E38 #3B1B69 #56279A #7133CB #9364D8

Accessibility & contrast

On white

9.76
#56279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#56279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56279A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56279A#FFFFFF#000000##FFFFFF
##56279A1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#44455E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #56279a;
/* rgb */ color: rgb(86, 39, 154);
/* oklch */ color: oklch(40.7% 0.174 296.4);
Tailwind
colors: {
  custom: {
    50: '#8c66b9',
    500: '#56279a',
    950: '#000000',
  },
}
SCSS
$custom: #56279a;
$custom-light: #8c66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56279a",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 264.522,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40684,
    "c": 0.17415,
    "h": 296.4
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#56279A
secondary
#97BD5F
accent
#E345A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #56279A

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

Preview Lab → · Contrast checker → · Palette generator →

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