#562B94#562B94

#562B94 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.162 H 297.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#562B94
RGBrgb(86, 43, 148)
HSLhsl(265, 55%, 37%)
HSVhsv(265, 71%, 58%)
CMYKcmyk(41.9%, 70.9%, 0%, 42%)
CIE-LABlab(29.02, 42.37, -50.49)
CIE-LCHlch(29.02, 65.91, 310.00°)
OKLaboklab(40.68% 0.0747 -0.1442)
OKLCHoklch(40.68% 0.162 297.4)
XYZxyz(10.0455, 5.8441, 28.6100)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B94 #69942B
analogous
#2B3594 #562B94 #8A2B94
triadic
#562B94 #94562B #2B9456
tetradic
#562B94 #942B35 #69942B #2B948A
square
#562B94 #942B35 #69942B #2B948A
split-complementary
#562B94 #948A2B #35942B
monochromatic
#1F0F35 #3A1D65 #562B94 #7239C3 #9367D3

Accessibility & contrast

On white

9.68
#562B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562B94
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B94#FFFFFF#000000##FFFFFF
##562B941.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#46455C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #562b94;
/* rgb */ color: rgb(86, 43, 148);
/* oklch */ color: oklch(40.7% 0.162 297.4);
Tailwind
colors: {
  custom: {
    50: '#8b68b4',
    500: '#562b94',
    950: '#000000',
  },
}
SCSS
$custom: #562b94;
$custom-light: #8b68b4;
$custom-dark: #000000;
JSON
{
  "hex": "#562b94",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 264.571,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40678,
    "c": 0.16239,
    "h": 297.4
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#562B94
secondary
#95B962
accent
#DE49A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562B94

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

Preview Lab → · Contrast checker → · Palette generator →

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