#563172#563172

#563172 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 39.0% C 0.112 H 308.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#563172
RGBrgb(86, 49, 114)
HSLhsl(274, 40%, 32%)
HSVhsv(274, 57%, 45%)
CMYKcmyk(24.6%, 57%, 0%, 55.3%)
CIE-LABlab(27.82, 30.00, -31.16)
CIE-LCHlch(27.82, 43.25, 313.92°)
OKLaboklab(39.04% 0.0693 -0.0875)
OKLCHoklch(39.04% 0.112 308.4)
XYZxyz(7.9727, 5.3901, 16.5367)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563172 #4D7231
analogous
#363172 #563172 #72316E
triadic
#563172 #725631 #317256
tetradic
#563172 #723631 #4D7231 #316E72
square
#563172 #723631 #4D7231 #316E72
split-complementary
#563172 #6E7231 #317236
monochromatic
#150C1C #361F47 #563172 #76439D #9562BB

Accessibility & contrast

On white

10.11
#563172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #563172
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563172#FFFFFF#000000##FFFFFF
##5631721.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4074
Deuteranopia (green-blind)
#294270
Tritanopia (blue-blind)
#523D4C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #563172;
/* rgb */ color: rgb(86, 49, 114);
/* oklch */ color: oklch(39.0% 0.112 308.4);
Tailwind
colors: {
  custom: {
    50: '#886b9b',
    500: '#563172',
    950: '#000000',
  },
}
SCSS
$custom: #563172;
$custom-light: #886b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#563172",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 274.154,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39036,
    "c": 0.11159,
    "h": 308.4
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#563172
secondary
#7AA35C
accent
#D0588C
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #563172

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

Preview Lab → · Contrast checker → · Palette generator →

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