#562685#562685

#562685 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.151 H 303.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#562685
RGBrgb(86, 38, 133)
HSLhsl(270, 56%, 34%)
HSVhsv(270, 71%, 52%)
CMYKcmyk(35.3%, 71.4%, 0%, 47.8%)
CIE-LABlab(26.90, 40.97, -44.63)
CIE-LCHlch(26.90, 60.58, 312.55°)
OKLaboklab(38.79% 0.0826 -0.127)
OKLCHoklch(38.79% 0.151 303)
XYZxyz(8.7635, 5.0581, 22.7004)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562685 #558526
analogous
#262685 #562685 #852684
triadic
#562685 #855626 #268556
tetradic
#562685 #852626 #558526 #268485
square
#562685 #852626 #558526 #268485
split-complementary
#562685 #848526 #268526
monochromatic
#180B26 #371855 #562685 #7534B5 #9357CF

Accessibility & contrast

On white

10.44
#562685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#562685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562685
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562685#FFFFFF#000000##FFFFFF
##5626851.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#4D3C52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562685;
/* rgb */ color: rgb(86, 38, 133);
/* oklch */ color: oklch(38.8% 0.151 303.0);
Tailwind
colors: {
  custom: {
    50: '#8a64a9',
    500: '#562685',
    950: '#000000',
  },
}
SCSS
$custom: #562685;
$custom-light: #8a64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#562685",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 270.316,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38793,
    "c": 0.15146,
    "h": 303
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#562685
secondary
#83B353
accent
#DF4993
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562685

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

Preview Lab → · Contrast checker → · Palette generator →

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