#563173#563173

#563173 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 39.1% C 0.113 H 307.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#563173
RGBrgb(86, 49, 115)
HSLhsl(274, 40%, 32%)
HSVhsv(274, 57%, 45%)
CMYKcmyk(25.2%, 57.4%, 0%, 54.9%)
CIE-LABlab(27.88, 30.26, -31.70)
CIE-LCHlch(27.88, 43.82, 313.67°)
OKLaboklab(39.1% 0.0693 -0.0891)
OKLCHoklch(39.1% 0.113 307.9)
XYZxyz(8.0300, 5.4130, 16.8381)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563173 #4E7331
analogous
#353173 #563173 #73316F
triadic
#563173 #735631 #317356
tetradic
#563173 #733531 #4E7331 #316F73
square
#563173 #733531 #4E7331 #316F73
split-complementary
#563173 #6F7331 #317335
monochromatic
#160C1D #361F48 #563173 #76439E #9562BC

Accessibility & contrast

On white

10.08
#563173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#563173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563173
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563173#FFFFFF#000000##FFFFFF
##5631731.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4075
Deuteranopia (green-blind)
#284271
Tritanopia (blue-blind)
#523D4D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #563173;
/* rgb */ color: rgb(86, 49, 115);
/* oklch */ color: oklch(39.1% 0.113 307.9);
Tailwind
colors: {
  custom: {
    50: '#886b9c',
    500: '#563173',
    950: '#000000',
  },
}
SCSS
$custom: #563173;
$custom-light: #886b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#563173",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 273.636,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39102,
    "c": 0.11286,
    "h": 307.9
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#563173
secondary
#7CA45C
accent
#D0588D
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #563173

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

Preview Lab → · Contrast checker → · Palette generator →

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