#563288#563288

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

Color values

HEX#563288
RGBrgb(86, 50, 136)
HSLhsl(265, 46%, 36%)
HSVhsv(265, 63%, 53%)
CMYKcmyk(36.8%, 63.2%, 0%, 46.7%)
CIE-LABlab(29.51, 35.25, -42.28)
CIE-LCHlch(29.51, 55.05, 309.82°)
OKLaboklab(40.74% 0.068 -0.1201)
OKLCHoklch(40.74% 0.138 299.5)
XYZxyz(9.4212, 6.0371, 23.9567)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563288 #648832
analogous
#323988 #563288 #813288
triadic
#563288 #885632 #328856
tetradic
#563288 #883239 #648832 #328881
square
#563288 #883239 #648832 #328881
split-complementary
#563288 #888132 #398832
monochromatic
#1D112F #3A225B #563288 #7242B5 #936CC9

Accessibility & contrast

On white

9.51
#563288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#563288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563288
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563288#FFFFFF#000000##FFFFFF
##5632881.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#114586
Tritanopia (blue-blind)
#4B4558
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #563288;
/* rgb */ color: rgb(86, 50, 136);
/* oklch */ color: oklch(40.7% 0.138 299.5);
Tailwind
colors: {
  custom: {
    50: '#896cab',
    500: '#563288',
    950: '#000000',
  },
}
SCSS
$custom: #563288;
$custom-light: #896cab;
$custom-dark: #000000;
JSON
{
  "hex": "#563288",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 265.116,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40742,
    "c": 0.13801,
    "h": 299.5
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#563288
secondary
#91B065
accent
#D6529F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #563288

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

Preview Lab → · Contrast checker → · Palette generator →

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