#562995#562995

#562995 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.166 H 297.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#562995
RGBrgb(86, 41, 149)
HSLhsl(265, 57%, 37%)
HSVhsv(265, 72%, 58%)
CMYKcmyk(42.3%, 72.5%, 0%, 41.6%)
CIE-LABlab(28.73, 43.66, -51.56)
CIE-LCHlch(28.73, 67.56, 310.25°)
OKLaboklab(40.5% 0.0765 -0.1474)
OKLCHoklch(40.5% 0.166 297.4)
XYZxyz(10.0541, 5.7341, 29.0050)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562995 #689529
analogous
#293295 #562995 #8C2995
triadic
#562995 #955629 #299556
tetradic
#562995 #952932 #689529 #29958C
square
#562995 #952932 #689529 #29958C
split-complementary
#562995 #958C29 #329529
monochromatic
#1F0F35 #3A1C65 #562995 #7236C5 #9364D4

Accessibility & contrast

On white

9.78
#562995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#562995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562995
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562995#FFFFFF#000000##FFFFFF
##5629951.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#46445C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #562995;
/* rgb */ color: rgb(86, 41, 149);
/* oklch */ color: oklch(40.5% 0.166 297.4);
Tailwind
colors: {
  custom: {
    50: '#8b67b5',
    500: '#562995',
    950: '#000000',
  },
}
SCSS
$custom: #562995;
$custom-light: #8b67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#562995",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 265,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40501,
    "c": 0.16606,
    "h": 297.4
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#562995
secondary
#94BA60
accent
#E048A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #562995

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

Preview Lab → · Contrast checker → · Palette generator →

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