#562883#562883

#562883 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.146 H 303.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#562883
RGBrgb(86, 40, 131)
HSLhsl(270, 53%, 34%)
HSVhsv(270, 69%, 51%)
CMYKcmyk(34.4%, 69.5%, 0%, 48.6%)
CIE-LABlab(27.12, 39.43, -43.03)
CIE-LCHlch(27.12, 58.36, 312.50°)
OKLaboklab(38.9% 0.0806 -0.1223)
OKLCHoklch(38.9% 0.146 303.4)
XYZxyz(8.6923, 5.1347, 22.0015)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562883 #558328
analogous
#292883 #562883 #832882
triadic
#562883 #835628 #288356
tetradic
#562883 #832928 #558328 #288283
square
#562883 #832928 #558328 #288283
split-complementary
#562883 #828328 #288329
monochromatic
#180B25 #371A54 #562883 #7536B2 #9359CC

Accessibility & contrast

On white

10.36
#562883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#562883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562883
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562883#FFFFFF#000000##FFFFFF
##5628831.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#024081
Tritanopia (blue-blind)
#4D3D52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562883;
/* rgb */ color: rgb(86, 40, 131);
/* oklch */ color: oklch(38.9% 0.146 303.4);
Tailwind
colors: {
  custom: {
    50: '#8a65a8',
    500: '#562883',
    950: '#000000',
  },
}
SCSS
$custom: #562883;
$custom-light: #8a65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#562883",
  "rgb": {
    "r": 86,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 270.33,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38898,
    "c": 0.14644,
    "h": 303.4
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#562883
secondary
#83B155
accent
#DD4B93
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562883

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

Preview Lab → · Contrast checker → · Palette generator →

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