#562D92#562D92

#562D92 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.157 H 297.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#562D92
RGBrgb(86, 45, 146)
HSLhsl(264, 53%, 37%)
HSVhsv(264, 69%, 57%)
CMYKcmyk(41.1%, 69.2%, 0%, 42.7%)
CIE-LABlab(29.24, 40.77, -48.90)
CIE-LCHlch(29.24, 63.66, 309.82°)
OKLaboklab(40.78% 0.0729 -0.1395)
OKLCHoklch(40.78% 0.157 297.6)
XYZxyz(9.9631, 5.9304, 27.8083)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562D92 #69922D
analogous
#2D3792 #562D92 #882D92
triadic
#562D92 #92562D #2D9256
tetradic
#562D92 #922D37 #69922D #2D9288
square
#562D92 #922D37 #69922D #2D9288
split-complementary
#562D92 #92882D #37922D
monochromatic
#1F1034 #3A1F63 #562D92 #723BC1 #9369D1

Accessibility & contrast

On white

9.61
#562D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#562D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562D92
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562D92#FFFFFF#000000##FFFFFF
##562D921.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#47455C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #562d92;
/* rgb */ color: rgb(86, 45, 146);
/* oklch */ color: oklch(40.8% 0.157 297.6);
Tailwind
colors: {
  custom: {
    50: '#8b69b3',
    500: '#562d92',
    950: '#000000',
  },
}
SCSS
$custom: #562d92;
$custom-light: #8b69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#562d92",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 264.356,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40785,
    "c": 0.15742,
    "h": 297.6
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#562D92
secondary
#95B763
accent
#DC4CA2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562D92

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

Preview Lab → · Contrast checker → · Palette generator →

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