#56279B#56279B

#56279B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.175 H 296.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#56279B
RGBrgb(86, 39, 155)
HSLhsl(264, 60%, 38%)
HSVhsv(264, 75%, 61%)
CMYKcmyk(44.5%, 74.8%, 0%, 39.2%)
CIE-LABlab(28.89, 46.25, -54.98)
CIE-LCHlch(28.89, 71.84, 310.07°)
OKLaboklab(40.77% 0.0772 -0.1574)
OKLCHoklch(40.77% 0.175 296.1)
XYZxyz(10.4781, 5.7958, 31.5706)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56279B #6C9B27
analogous
#27329B #56279B #90279B
triadic
#56279B #9B5627 #279B56
tetradic
#56279B #9B2732 #6C9B27 #279B90
square
#56279B #9B2732 #6C9B27 #279B90
split-complementary
#56279B #9B9027 #329B27
monochromatic
#200E39 #3B1B6A #56279B #7133CC #9364D8

Accessibility & contrast

On white

9.73
#56279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#56279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56279B
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56279B#FFFFFF#000000##FFFFFF
##56279B1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#43455F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #56279b;
/* rgb */ color: rgb(86, 39, 155);
/* oklch */ color: oklch(40.8% 0.175 296.1);
Tailwind
colors: {
  custom: {
    50: '#8c66b9',
    500: '#56279b',
    950: '#000000',
  },
}
SCSS
$custom: #56279b;
$custom-light: #8c66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56279b",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 264.31,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40772,
    "c": 0.17528,
    "h": 296.1
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#56279B
secondary
#98BE60
accent
#E345A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56279B

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

Preview Lab → · Contrast checker → · Palette generator →

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