#562599#562599

#562599 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.175 H 297.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#562599
RGBrgb(86, 37, 153)
HSLhsl(265, 61%, 37%)
HSVhsv(265, 76%, 60%)
CMYKcmyk(43.8%, 75.8%, 0%, 40%)
CIE-LABlab(28.38, 46.67, -54.58)
CIE-LCHlch(28.38, 71.81, 310.53°)
OKLaboklab(40.36% 0.0795 -0.1562)
OKLCHoklch(40.36% 0.175 297)
XYZxyz(10.2476, 5.6013, 30.6721)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562599 #689925
analogous
#252E99 #562599 #902599
triadic
#562599 #995625 #259956
tetradic
#562599 #99252E #689925 #259990
square
#562599 #99252E #689925 #259990
split-complementary
#562599 #999025 #2E9925
monochromatic
#1F0D36 #3A1968 #562599 #7231CA #9360D9

Accessibility & contrast

On white

9.90
#562599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#562599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562599
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562599#FFFFFF#000000##FFFFFF
##5625991.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.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: #562599;
/* rgb */ color: rgb(86, 37, 153);
/* oklch */ color: oklch(40.4% 0.175 297.0);
Tailwind
colors: {
  custom: {
    50: '#8c65b8',
    500: '#562599',
    950: '#000000',
  },
}
SCSS
$custom: #562599;
$custom-light: #8c65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#562599",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 265.345,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4036,
    "c": 0.17527,
    "h": 297
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#562599
secondary
#94BE5C
accent
#E444A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #562599

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

Preview Lab → · Contrast checker → · Palette generator →

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