#563285#563285

#563285 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.134 H 300.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#563285
RGBrgb(86, 50, 133)
HSLhsl(266, 45%, 36%)
HSVhsv(266, 62%, 52%)
CMYKcmyk(35.3%, 62.4%, 0%, 47.8%)
CIE-LABlab(29.29, 34.43, -40.76)
CIE-LCHlch(29.29, 53.36, 310.19°)
OKLaboklab(40.52% 0.0681 -0.1156)
OKLCHoklch(40.52% 0.134 300.5)
XYZxyz(9.2110, 5.9530, 22.8495)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563285 #618532
analogous
#323785 #563285 #7F3285
triadic
#563285 #855632 #328556
tetradic
#563285 #853237 #618532 #32857F
square
#563285 #853237 #618532 #32857F
split-complementary
#563285 #857F32 #378532
monochromatic
#1C112C #392159 #563285 #7343B1 #936AC7

Accessibility & contrast

On white

9.59
#563285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#563285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563285
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563285#FFFFFF#000000##FFFFFF
##5632851.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#164483
Tritanopia (blue-blind)
#4C4456
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #563285;
/* rgb */ color: rgb(86, 50, 133);
/* oklch */ color: oklch(40.5% 0.134 300.5);
Tailwind
colors: {
  custom: {
    50: '#896ca9',
    500: '#563285',
    950: '#000000',
  },
}
SCSS
$custom: #563285;
$custom-light: #896ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#563285",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 266.024,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40519,
    "c": 0.13421,
    "h": 300.5
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#563285
secondary
#8EAF64
accent
#D5539D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #563285

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

Preview Lab → · Contrast checker → · Palette generator →

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