#562B95#562B95

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

Color values

HEX#562B95
RGBrgb(86, 43, 149)
HSLhsl(264, 55%, 38%)
HSVhsv(264, 71%, 58%)
CMYKcmyk(42.3%, 71.1%, 0%, 41.6%)
CIE-LABlab(29.10, 42.64, -50.97)
CIE-LCHlch(29.10, 66.45, 309.91°)
OKLaboklab(40.76% 0.0745 -0.1456)
OKLCHoklch(40.76% 0.164 297.1)
XYZxyz(10.1250, 5.8759, 29.0287)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B95 #6A952B
analogous
#2B3595 #562B95 #8B2B95
triadic
#562B95 #95562B #2B9556
tetradic
#562B95 #952B35 #6A952B #2B958B
square
#562B95 #952B35 #6A952B #2B958B
split-complementary
#562B95 #958B2B #35952B
monochromatic
#1F1036 #3B1D66 #562B95 #7139C4 #9367D3

Accessibility & contrast

On white

9.65
#562B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#562B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B95
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B95#FFFFFF#000000##FFFFFF
##562B951.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#46455D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #562b95;
/* rgb */ color: rgb(86, 43, 149);
/* oklch */ color: oklch(40.8% 0.164 297.1);
Tailwind
colors: {
  custom: {
    50: '#8b68b5',
    500: '#562b95',
    950: '#000000',
  },
}
SCSS
$custom: #562b95;
$custom-light: #8b68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#562b95",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 264.34,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40761,
    "c": 0.16358,
    "h": 297.1
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#562B95
secondary
#96BA62
accent
#DF49A2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #562B95

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

Preview Lab → · Contrast checker → · Palette generator →

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