#562680#562680

#562680 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.146 H 304.9°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#562680
RGBrgb(86, 38, 128)
HSLhsl(272, 54%, 33%)
HSVhsv(272, 70%, 50%)
CMYKcmyk(32.8%, 70.3%, 0%, 49.8%)
CIE-LABlab(26.51, 39.69, -42.11)
CIE-LCHlch(26.51, 57.87, 313.31°)
OKLaboklab(38.4% 0.0833 -0.1196)
OKLCHoklch(38.4% 0.146 304.9)
XYZxyz(8.4263, 4.9232, 20.9243)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562680 #508026
analogous
#292680 #562680 #80267D
triadic
#562680 #805626 #268056
tetradic
#562680 #802926 #508026 #267D80
square
#562680 #802926 #508026 #267D80
split-complementary
#562680 #7D8026 #268029
monochromatic
#170A22 #361851 #562680 #7634AF #9454CC

Accessibility & contrast

On white

10.58
#562680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#562680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562680
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562680#FFFFFF#000000##FFFFFF
##5626801.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#053F7E
Tritanopia (blue-blind)
#4E3A50
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562680;
/* rgb */ color: rgb(86, 38, 128);
/* oklch */ color: oklch(38.4% 0.146 304.9);
Tailwind
colors: {
  custom: {
    50: '#8964a5',
    500: '#562680',
    950: '#000000',
  },
}
SCSS
$custom: #562680;
$custom-light: #8964a5;
$custom-dark: #000000;
JSON
{
  "hex": "#562680",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 128
  },
  "hsl": {
    "h": 272,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38396,
    "c": 0.14574,
    "h": 304.9
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#562680
secondary
#7EB151
accent
#DE4A8F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #562680

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

Preview Lab → · Contrast checker → · Palette generator →

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