#56279F#56279F

#56279F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.180 H 295.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#56279F
RGBrgb(86, 39, 159)
HSLhsl(264, 61%, 39%)
HSVhsv(264, 75%, 62%)
CMYKcmyk(45.9%, 75.5%, 0%, 37.6%)
CIE-LABlab(29.24, 47.32, -56.84)
CIE-LCHlch(29.24, 73.96, 309.78°)
OKLaboklab(41.13% 0.0762 -0.1628)
OKLCHoklch(41.13% 0.18 295.1)
XYZxyz(10.8196, 5.9324, 33.3692)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56279F #709F27
analogous
#27349F #56279F #92279F
triadic
#56279F #9F5627 #279F56
tetradic
#56279F #9F2734 #709F27 #279F92
square
#56279F #9F2734 #709F27 #279F92
split-complementary
#56279F #9F9227 #349F27
monochromatic
#210F3D #3B1B6E #56279F #7136CE #9467DA

Accessibility & contrast

On white

9.60
#56279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#56279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56279F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56279F#FFFFFF#000000##FFFFFF
##56279F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#414761
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #56279f;
/* rgb */ color: rgb(86, 39, 159);
/* oklch */ color: oklch(41.1% 0.180 295.1);
Tailwind
colors: {
  custom: {
    50: '#8d66bc',
    500: '#56279f',
    950: '#000000',
  },
}
SCSS
$custom: #56279f;
$custom-light: #8d66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56279f",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 263.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41127,
    "c": 0.17979,
    "h": 295.1
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#56279F
secondary
#9BC062
accent
#E444A5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56279F

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

Preview Lab → · Contrast checker → · Palette generator →

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