#562D90#562D90

#562D90 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.155 H 298.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#562D90
RGBrgb(86, 45, 144)
HSLhsl(265, 52%, 37%)
HSVhsv(265, 69%, 56%)
CMYKcmyk(40.3%, 68.7%, 0%, 43.5%)
CIE-LABlab(29.08, 40.22, -47.92)
CIE-LCHlch(29.08, 62.57, 310.01°)
OKLaboklab(40.62% 0.0731 -0.1367)
OKLCHoklch(40.62% 0.155 298.2)
XYZxyz(9.8089, 5.8687, 26.9961)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562D90 #67902D
analogous
#2D3690 #562D90 #872D90
triadic
#562D90 #90562D #2D9056
tetradic
#562D90 #902D36 #67902D #2D9087
square
#562D90 #902D36 #67902D #2D9087
split-complementary
#562D90 #90872D #36902D
monochromatic
#1E1033 #3A1E61 #562D90 #723CBF #9368D0

Accessibility & contrast

On white

9.66
#562D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#562D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562D90
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562D90#FFFFFF#000000##FFFFFF
##562D901.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#48445A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #562d90;
/* rgb */ color: rgb(86, 45, 144);
/* oklch */ color: oklch(40.6% 0.155 298.2);
Tailwind
colors: {
  custom: {
    50: '#8b69b1',
    500: '#562d90',
    950: '#000000',
  },
}
SCSS
$custom: #562d90;
$custom-light: #8b69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#562d90",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 264.848,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40622,
    "c": 0.15502,
    "h": 298.2
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#562D90
secondary
#94B662
accent
#DC4CA0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562D90

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

Preview Lab → · Contrast checker → · Palette generator →

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