#562C97#562C97

#562C97 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.165 H 296.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#562C97
RGBrgb(86, 44, 151)
HSLhsl(264, 55%, 38%)
HSVhsv(264, 71%, 59%)
CMYKcmyk(43%, 70.9%, 0%, 40.8%)
CIE-LABlab(29.45, 42.66, -51.62)
CIE-LCHlch(29.45, 66.97, 309.57°)
OKLaboklab(41.06% 0.0731 -0.1476)
OKLCHoklch(41.06% 0.165 296.4)
XYZxyz(10.3229, 6.0139, 29.8891)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C97 #6D972C
analogous
#2C3897 #562C97 #8B2C97
triadic
#562C97 #97562C #2C9756
tetradic
#562C97 #972C38 #6D972C #2C978B
square
#562C97 #972C38 #6D972C #2C978B
split-complementary
#562C97 #978B2C #38972C
monochromatic
#201038 #3B1E68 #562C97 #713AC6 #936AD4

Accessibility & contrast

On white

9.53
#562C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#562C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C97
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C97#FFFFFF#000000##FFFFFF
##562C971.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#45465E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #562c97;
/* rgb */ color: rgb(86, 44, 151);
/* oklch */ color: oklch(41.1% 0.165 296.4);
Tailwind
colors: {
  custom: {
    50: '#8b69b6',
    500: '#562c97',
    950: '#000000',
  },
}
SCSS
$custom: #562c97;
$custom-light: #8b69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#562c97",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 263.551,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.16467,
    "h": 296.4
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#562C97
secondary
#99BA65
accent
#DE4AA4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #562C97

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

Preview Lab → · Contrast checker → · Palette generator →

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