#562D83#562D83

#562D83 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.139 H 302.4°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#562D83
RGBrgb(86, 45, 131)
HSLhsl(269, 49%, 35%)
HSVhsv(269, 66%, 51%)
CMYKcmyk(34.4%, 65.6%, 0%, 48.6%)
CIE-LABlab(28.10, 36.73, -41.44)
CIE-LCHlch(28.10, 55.37, 311.56°)
OKLaboklab(39.61% 0.0746 -0.1176)
OKLCHoklch(39.61% 0.139 302.4)
XYZxyz(8.8719, 5.4939, 22.0614)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562D83 #5A832D
analogous
#2D2F83 #562D83 #812D83
triadic
#562D83 #83562D #2D8356
tetradic
#562D83 #832D2F #5A832D #2D8381
square
#562D83 #832D2F #5A832D #2D8381
split-complementary
#562D83 #83812D #2F832D
monochromatic
#1A0E28 #381D55 #562D83 #743DB1 #9362C9

Accessibility & contrast

On white

10.01
#562D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#562D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562D83
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562D83#FFFFFF#000000##FFFFFF
##562D831.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#104281
Tritanopia (blue-blind)
#4D4053
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562d83;
/* rgb */ color: rgb(86, 45, 131);
/* oklch */ color: oklch(39.6% 0.139 302.4);
Tailwind
colors: {
  custom: {
    50: '#8968a8',
    500: '#562d83',
    950: '#000000',
  },
}
SCSS
$custom: #562d83;
$custom-light: #8968a8;
$custom-dark: #000000;
JSON
{
  "hex": "#562d83",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 268.605,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39606,
    "c": 0.13927,
    "h": 302.4
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#562D83
secondary
#88AF5C
accent
#D84F97
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562D83

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

Preview Lab → · Contrast checker → · Palette generator →

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