#563181#563181

#563181 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.131 H 302.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#563181
RGBrgb(86, 49, 129)
HSLhsl(268, 45%, 35%)
HSVhsv(268, 62%, 51%)
CMYKcmyk(33.3%, 62%, 0%, 49.4%)
CIE-LABlab(28.80, 33.93, -39.06)
CIE-LCHlch(28.80, 51.74, 310.98°)
OKLaboklab(40.07% 0.0695 -0.1106)
OKLCHoklch(40.07% 0.131 302.2)
XYZxyz(8.8976, 5.7600, 21.4077)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563181 #5C8131
analogous
#313481 #563181 #7E3181
triadic
#563181 #815631 #318156
tetradic
#563181 #813134 #5C8131 #31817E
square
#563181 #813134 #5C8131 #31817E
split-complementary
#563181 #817E31 #348131
monochromatic
#1B0F28 #382055 #563181 #7442AD #9367C5

Accessibility & contrast

On white

9.76
#563181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#563181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563181
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563181#FFFFFF#000000##FFFFFF
##5631811.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054384
Deuteranopia (green-blind)
#1A447F
Tritanopia (blue-blind)
#4E4254
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #563181;
/* rgb */ color: rgb(86, 49, 129);
/* oklch */ color: oklch(40.1% 0.131 302.2);
Tailwind
colors: {
  custom: {
    50: '#896ba6',
    500: '#563181',
    950: '#000000',
  },
}
SCSS
$custom: #563181;
$custom-light: #896ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#563181",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 267.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4007,
    "c": 0.13068,
    "h": 302.2
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#563181
secondary
#8AAD61
accent
#D55399
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #563181

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

Preview Lab → · Contrast checker → · Palette generator →

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