#562F99#562F99

#562F99 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.163 H 295.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#562F99
RGBrgb(86, 47, 153)
HSLhsl(262, 53%, 39%)
HSVhsv(262, 69%, 60%)
CMYKcmyk(43.8%, 69.3%, 0%, 40%)
CIE-LABlab(30.18, 41.62, -51.65)
CIE-LCHlch(30.18, 66.33, 308.86°)
OKLaboklab(41.64% 0.0696 -0.1476)
OKLCHoklch(41.64% 0.163 295.2)
XYZxyz(10.6025, 6.3111, 30.7904)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F99 #72992F
analogous
#2F3D99 #562F99 #8B2F99
triadic
#562F99 #99562F #2F9956
tetradic
#562F99 #992F3D #72992F #2F998B
square
#562F99 #992F3D #72992F #2F998B
split-complementary
#562F99 #998B2F #3D992F
monochromatic
#21123B #3C216A #562F99 #7141C5 #946FD3

Accessibility & contrast

On white

9.28
#562F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#562F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F99
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F99#FFFFFF#000000##FFFFFF
##562F991.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#444960
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #562f99;
/* rgb */ color: rgb(86, 47, 153);
/* oklch */ color: oklch(41.6% 0.163 295.2);
Tailwind
colors: {
  custom: {
    50: '#8c6ab8',
    500: '#562f99',
    950: '#000000',
  },
}
SCSS
$custom: #562f99;
$custom-light: #8c6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#562f99",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 262.075,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41639,
    "c": 0.16323,
    "h": 295.2
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#562F99
secondary
#9DBA69
accent
#DC4BA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #562F99

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

Preview Lab → · Contrast checker → · Palette generator →

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