#562575#562575

#562575 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.4% C 0.135 H 309.5°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#562575
RGBrgb(86, 37, 117)
HSLhsl(277, 52%, 30%)
HSVhsv(277, 68%, 46%)
CMYKcmyk(26.5%, 68.4%, 0%, 54.1%)
CIE-LABlab(25.52, 37.47, -36.75)
CIE-LCHlch(25.52, 52.48, 315.56°)
OKLaboklab(37.43% 0.0857 -0.1038)
OKLCHoklch(37.43% 0.135 309.5)
XYZxyz(7.7096, 4.5861, 17.3052)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562575 #447525
analogous
#2E2575 #562575 #75256C
triadic
#562575 #755625 #257556
tetradic
#562575 #752E25 #447525 #256C75
square
#562575 #752E25 #447525 #256C75
split-complementary
#562575 #6C7525 #25752E
monochromatic
#120818 #341647 #562575 #7834A3 #984EC7

Accessibility & contrast

On white

10.95
#562575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#562575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562575
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562575#FFFFFF#000000##FFFFFF
##5625751.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#193D73
Tritanopia (blue-blind)
#523549
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #562575;
/* rgb */ color: rgb(86, 37, 117);
/* oklch */ color: oklch(37.4% 0.135 309.5);
Tailwind
colors: {
  custom: {
    50: '#89639d',
    500: '#562575',
    950: '#000000',
  },
}
SCSS
$custom: #562575;
$custom-light: #89639d;
$custom-dark: #000000;
JSON
{
  "hex": "#562575",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 276.75,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37427,
    "c": 0.13459,
    "h": 309.5
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#562575
secondary
#71A84E
accent
#DB4C84
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050E
muted
#7D7A7E

Preview Lab

Preview with #562575

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

Preview Lab → · Contrast checker → · Palette generator →

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