#562C83#562C83

#562C83 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.141 H 302.6°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#562C83
RGBrgb(86, 44, 131)
HSLhsl(269, 50%, 34%)
HSVhsv(269, 66%, 51%)
CMYKcmyk(34.4%, 66.4%, 0%, 48.6%)
CIE-LABlab(27.90, 37.28, -41.76)
CIE-LCHlch(27.90, 55.99, 311.76°)
OKLaboklab(39.46% 0.0758 -0.1186)
OKLCHoklch(39.46% 0.141 302.6)
XYZxyz(8.8342, 5.4185, 22.0488)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C83 #59832C
analogous
#2C2D83 #562C83 #822C83
triadic
#562C83 #83562C #2C8356
tetradic
#562C83 #832C2D #59832C #2C8382
square
#562C83 #832C2D #59832C #2C8382
split-complementary
#562C83 #83822C #2D832C
monochromatic
#1A0D27 #381D55 #562C83 #743BB1 #9360CA

Accessibility & contrast

On white

10.08
#562C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#562C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##562C83#FFFFFF#000000##FFFFFF
##562C831.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)
#004186
Deuteranopia (green-blind)
#0D4281
Tritanopia (blue-blind)
#4D3F53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562c83;
/* rgb */ color: rgb(86, 44, 131);
/* oklch */ color: oklch(39.5% 0.141 302.6);
Tailwind
colors: {
  custom: {
    50: '#8968a8',
    500: '#562c83',
    950: '#000000',
  },
}
SCSS
$custom: #562c83;
$custom-light: #8968a8;
$custom-dark: #000000;
JSON
{
  "hex": "#562c83",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 268.966,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3946,
    "c": 0.14074,
    "h": 302.6
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#562C83
secondary
#87B05B
accent
#D94F96
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562C83

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

Preview Lab → · Contrast checker → · Palette generator →

#562C83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva