#562595#562595

#562595 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.171 H 298.1°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#562595
RGBrgb(86, 37, 149)
HSLhsl(266, 60%, 36%)
HSVhsv(266, 75%, 58%)
CMYKcmyk(42.3%, 75.2%, 0%, 41.6%)
CIE-LABlab(28.04, 45.62, -52.70)
CIE-LCHlch(28.04, 69.70, 310.88°)
OKLaboklab(40.01% 0.0804 -0.1507)
OKLCHoklch(40.01% 0.171 298.1)
XYZxyz(9.9227, 5.4713, 28.9612)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562595 #649525
analogous
#252C95 #562595 #8E2595
triadic
#562595 #955625 #259556
tetradic
#562595 #95252C #649525 #25958E
square
#562595 #95252C #649525 #25958E
split-complementary
#562595 #958E25 #2C9525
monochromatic
#1D0D33 #3A1964 #562595 #7231C6 #935ED7

Accessibility & contrast

On white

10.03
#562595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#562595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562595
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562595#FFFFFF#000000##FFFFFF
##5625951.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#46425B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562595;
/* rgb */ color: rgb(86, 37, 149);
/* oklch */ color: oklch(40.0% 0.171 298.1);
Tailwind
colors: {
  custom: {
    50: '#8c65b5',
    500: '#562595',
    950: '#000000',
  },
}
SCSS
$custom: #562595;
$custom-light: #8c65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#562595",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 266.25,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4001,
    "c": 0.1708,
    "h": 298.1
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#562595
secondary
#91BC5A
accent
#E3449E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #562595

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

Preview Lab → · Contrast checker → · Palette generator →

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