#562597#562597

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

Color values

HEX#562597
RGBrgb(86, 37, 151)
HSLhsl(266, 61%, 37%)
HSVhsv(266, 75%, 59%)
CMYKcmyk(43%, 75.5%, 0%, 40.8%)
CIE-LABlab(28.21, 46.14, -53.64)
CIE-LCHlch(28.21, 70.76, 310.70°)
OKLaboklab(40.18% 0.08 -0.1534)
OKLCHoklch(40.18% 0.173 297.5)
XYZxyz(10.0838, 5.5358, 29.8094)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562597 #669725
analogous
#252D97 #562597 #8F2597
triadic
#562597 #975625 #259756
tetradic
#562597 #97252D #669725 #25978F
square
#562597 #97252D #669725 #25978F
split-complementary
#562597 #978F25 #2D9725
monochromatic
#1E0D35 #3A1966 #562597 #7231C8 #935FD8

Accessibility & contrast

On white

9.97
#562597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562597
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562597#FFFFFF#000000##FFFFFF
##5625971.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#45435C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #562597;
/* rgb */ color: rgb(86, 37, 151);
/* oklch */ color: oklch(40.2% 0.173 297.5);
Tailwind
colors: {
  custom: {
    50: '#8c65b7',
    500: '#562597',
    950: '#000000',
  },
}
SCSS
$custom: #562597;
$custom-light: #8c65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#562597",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 265.789,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40184,
    "c": 0.17304,
    "h": 297.5
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#562597
secondary
#93BD5B
accent
#E4449F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #562597

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

Preview Lab → · Contrast checker → · Palette generator →

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