#563282#563282

#563282 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.3% C 0.130 H 301.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#563282
RGBrgb(86, 50, 130)
HSLhsl(267, 44%, 35%)
HSVhsv(267, 62%, 51%)
CMYKcmyk(33.8%, 61.5%, 0%, 49%)
CIE-LABlab(29.09, 33.62, -39.22)
CIE-LCHlch(29.09, 51.66, 310.60°)
OKLaboklab(40.3% 0.0682 -0.1111)
OKLCHoklch(40.3% 0.13 301.5)
XYZxyz(9.0067, 5.8713, 21.7735)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563282 #5E8232
analogous
#323682 #563282 #7E3282
triadic
#563282 #825632 #328256
tetradic
#563282 #823236 #5E8232 #32827E
square
#563282 #823236 #5E8232 #32827E
split-complementary
#563282 #827E32 #368232
monochromatic
#1C102A #392156 #563282 #7343AE #9369C5

Accessibility & contrast

On white

9.66
#563282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#563282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##563282#FFFFFF#000000##FFFFFF
##5632821.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)
#074485
Deuteranopia (green-blind)
#1B4480
Tritanopia (blue-blind)
#4D4355
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #563282;
/* rgb */ color: rgb(86, 50, 130);
/* oklch */ color: oklch(40.3% 0.130 301.5);
Tailwind
colors: {
  custom: {
    50: '#896ca7',
    500: '#563282',
    950: '#000000',
  },
}
SCSS
$custom: #563282;
$custom-light: #896ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#563282",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 267,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40301,
    "c": 0.13038,
    "h": 301.5
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#563282
secondary
#8CAD63
accent
#D4549A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #563282

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

Preview Lab → · Contrast checker → · Palette generator →

#563282 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva