#562694#562694

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

Color values

HEX#562694
RGBrgb(86, 38, 148)
HSLhsl(266, 59%, 36%)
HSVhsv(266, 74%, 58%)
CMYKcmyk(41.9%, 74.3%, 0%, 42%)
CIE-LABlab(28.12, 44.88, -51.94)
CIE-LCHlch(28.12, 68.64, 310.82°)
OKLaboklab(40.04% 0.0797 -0.1485)
OKLCHoklch(40.04% 0.169 298.2)
XYZxyz(9.8748, 5.5026, 28.5531)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562694 #649426
analogous
#262D94 #562694 #8D2694
triadic
#562694 #945626 #269456
tetradic
#562694 #94262D #649426 #26948D
square
#562694 #94262D #649426 #26948D
split-complementary
#562694 #948D26 #2D9426
monochromatic
#1D0D33 #3A1963 #562694 #7233C5 #935FD6

Accessibility & contrast

On white

10.00
#562694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#562694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562694
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562694#FFFFFF#000000##FFFFFF
##5626941.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#47425B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562694;
/* rgb */ color: rgb(86, 38, 148);
/* oklch */ color: oklch(40.0% 0.169 298.2);
Tailwind
colors: {
  custom: {
    50: '#8c65b4',
    500: '#562694',
    950: '#000000',
  },
}
SCSS
$custom: #562694;
$custom-light: #8c65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#562694",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 266.182,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40042,
    "c": 0.16852,
    "h": 298.2
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#562694
secondary
#91BB5B
accent
#E2459E
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #562694

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

Preview Lab → · Contrast checker → · Palette generator →

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