#56279D#56279D

#56279D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.178 H 295.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#56279D
RGBrgb(86, 39, 157)
HSLhsl(264, 60%, 38%)
HSVhsv(264, 75%, 62%)
CMYKcmyk(45.2%, 75.2%, 0%, 38.4%)
CIE-LABlab(29.07, 46.78, -55.91)
CIE-LCHlch(29.07, 72.90, 309.92°)
OKLaboklab(40.95% 0.0767 -0.1601)
OKLCHoklch(40.95% 0.178 295.6)
XYZxyz(10.6474, 5.8635, 32.4625)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56279D #6E9D27
analogous
#27339D #56279D #91279D
triadic
#56279D #9D5627 #279D56
tetradic
#56279D #9D2733 #6E9D27 #279D91
square
#56279D #9D2733 #6E9D27 #279D91
split-complementary
#56279D #9D9127 #339D27
monochromatic
#200F3B #3B1B6C #56279D #7135CD #9366D9

Accessibility & contrast

On white

9.66
#56279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56279D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56279D#FFFFFF#000000##FFFFFF
##56279D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#424660
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #56279d;
/* rgb */ color: rgb(86, 39, 157);
/* oklch */ color: oklch(40.9% 0.178 295.6);
Tailwind
colors: {
  custom: {
    50: '#8d66bb',
    500: '#56279d',
    950: '#000000',
  },
}
SCSS
$custom: #56279d;
$custom-light: #8d66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#56279d",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 263.898,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40949,
    "c": 0.17753,
    "h": 295.6
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#56279D
secondary
#99BF61
accent
#E344A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56279D

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

Preview Lab → · Contrast checker → · Palette generator →

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