#563174#563174

#563174 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 39.2% C 0.114 H 307.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#563174
RGBrgb(86, 49, 116)
HSLhsl(273, 41%, 32%)
HSVhsv(273, 58%, 45%)
CMYKcmyk(25.9%, 57.8%, 0%, 54.5%)
CIE-LABlab(27.94, 30.51, -32.23)
CIE-LCHlch(27.94, 44.38, 313.43°)
OKLaboklab(39.17% 0.0694 -0.0906)
OKLCHoklch(39.17% 0.114 307.4)
XYZxyz(8.0878, 5.4361, 17.1428)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563174 #4F7431
analogous
#343174 #563174 #743171
triadic
#563174 #745631 #317456
tetradic
#563174 #743431 #4F7431 #317174
square
#563174 #743431 #4F7431 #317174
split-complementary
#563174 #717431 #317434
monochromatic
#160D1E #361F49 #563174 #76439F #9463BD

Accessibility & contrast

On white

10.06
#563174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#563174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563174
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563174#FFFFFF#000000##FFFFFF
##5631741.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4176
Deuteranopia (green-blind)
#284272
Tritanopia (blue-blind)
#513D4D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #563174;
/* rgb */ color: rgb(86, 49, 116);
/* oklch */ color: oklch(39.2% 0.114 307.4);
Tailwind
colors: {
  custom: {
    50: '#886b9c',
    500: '#563174',
    950: '#000000',
  },
}
SCSS
$custom: #563174;
$custom-light: #886b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#563174",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 273.134,
    "s": 40.606,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39168,
    "c": 0.11414,
    "h": 307.4
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#563174
secondary
#7DA45C
accent
#D0578E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #563174

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

Preview Lab → · Contrast checker → · Palette generator →

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