#562499#562499

#562499 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.176 H 297.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#562499
RGBrgb(86, 36, 153)
HSLhsl(266, 62%, 37%)
HSVhsv(266, 76%, 60%)
CMYKcmyk(43.8%, 76.5%, 0%, 40%)
CIE-LABlab(28.22, 47.13, -54.85)
CIE-LCHlch(28.22, 72.32, 310.67°)
OKLaboklab(40.25% 0.0804 -0.157)
OKLCHoklch(40.25% 0.176 297.1)
XYZxyz(10.2169, 5.5399, 30.6618)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562499 #679924
analogous
#242D99 #562499 #912499
triadic
#562499 #995624 #249956
tetradic
#562499 #99242D #679924 #249991
square
#562499 #99242D #679924 #249991
split-complementary
#562499 #999124 #2D9924
monochromatic
#1E0D36 #3A1867 #562499 #7230CB #935ED9

Accessibility & contrast

On white

9.96
#562499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#562499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562499
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562499#FFFFFF#000000##FFFFFF
##5624991.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#44435D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #562499;
/* rgb */ color: rgb(86, 36, 153);
/* oklch */ color: oklch(40.2% 0.176 297.1);
Tailwind
colors: {
  custom: {
    50: '#8c64b8',
    500: '#562499',
    950: '#000000',
  },
}
SCSS
$custom: #562499;
$custom-light: #8c64b8;
$custom-dark: #000000;
JSON
{
  "hex": "#562499",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 265.641,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40246,
    "c": 0.17637,
    "h": 297.1
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#562499
secondary
#94BE5B
accent
#E543A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #562499

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

Preview Lab → · Contrast checker → · Palette generator →

#562499 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva