#563281#563281

#563281 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.2% C 0.129 H 301.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#563281
RGBrgb(86, 50, 129)
HSLhsl(267, 44%, 35%)
HSVhsv(267, 61%, 51%)
CMYKcmyk(33.3%, 61.2%, 0%, 49.4%)
CIE-LABlab(29.02, 33.35, -38.71)
CIE-LCHlch(29.02, 51.09, 310.75°)
OKLaboklab(40.23% 0.0682 -0.1096)
OKLCHoklch(40.23% 0.129 301.9)
XYZxyz(8.9399, 5.8446, 21.4218)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563281 #5D8132
analogous
#323581 #563281 #7E3281
triadic
#563281 #815632 #328156
tetradic
#563281 #813235 #5D8132 #32817E
square
#563281 #813235 #5D8132 #32817E
split-complementary
#563281 #817E32 #358132
monochromatic
#1B1029 #392155 #563281 #7343AD #9369C5

Accessibility & contrast

On white

9.68
#563281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #563281
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563281#FFFFFF#000000##FFFFFF
##5632811.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094484
Deuteranopia (green-blind)
#1C447F
Tritanopia (blue-blind)
#4D4254
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #563281;
/* rgb */ color: rgb(86, 50, 129);
/* oklch */ color: oklch(40.2% 0.129 301.9);
Tailwind
colors: {
  custom: {
    50: '#896ca6',
    500: '#563281',
    950: '#000000',
  },
}
SCSS
$custom: #563281;
$custom-light: #896ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#563281",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 267.342,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40229,
    "c": 0.12911,
    "h": 301.9
  },
  "luminance": 0.05845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #563281

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

Preview Lab → · Contrast checker → · Palette generator →

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