#563287#563287

#563287 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.137 H 299.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#563287
RGBrgb(86, 50, 135)
HSLhsl(265, 46%, 36%)
HSVhsv(265, 63%, 53%)
CMYKcmyk(36.3%, 63%, 0%, 47.1%)
CIE-LABlab(29.43, 34.98, -41.78)
CIE-LCHlch(29.43, 54.49, 309.94°)
OKLaboklab(40.67% 0.068 -0.1186)
OKLCHoklch(40.67% 0.137 299.8)
XYZxyz(9.3505, 6.0088, 23.5842)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563287 #638732
analogous
#323987 #563287 #813287
triadic
#563287 #875632 #328756
tetradic
#563287 #873239 #638732 #328781
square
#563287 #873239 #638732 #328781
split-complementary
#563287 #878132 #398732
monochromatic
#1D112E #3A215A #563287 #7243B4 #936BC8

Accessibility & contrast

On white

9.54
#563287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#563287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563287
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563287#FFFFFF#000000##FFFFFF
##5632871.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#134585
Tritanopia (blue-blind)
#4B4457
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #563287;
/* rgb */ color: rgb(86, 50, 135);
/* oklch */ color: oklch(40.7% 0.137 299.8);
Tailwind
colors: {
  custom: {
    50: '#896caa',
    500: '#563287',
    950: '#000000',
  },
}
SCSS
$custom: #563287;
$custom-light: #896caa;
$custom-dark: #000000;
JSON
{
  "hex": "#563287",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 265.412,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40667,
    "c": 0.13675,
    "h": 299.8
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#563287
secondary
#90B065
accent
#D6529E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #563287

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

Preview Lab → · Contrast checker → · Palette generator →

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