#562180#562180

#562180 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.152 H 305.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#562180
RGBrgb(86, 33, 128)
HSLhsl(273, 59%, 32%)
HSVhsv(273, 74%, 50%)
CMYKcmyk(32.8%, 74.2%, 0%, 49.8%)
CIE-LABlab(25.64, 42.15, -43.53)
CIE-LCHlch(25.64, 60.60, 314.08°)
OKLaboklab(37.77% 0.0889 -0.1237)
OKLCHoklch(37.77% 0.152 305.7)
XYZxyz(8.2770, 4.6247, 20.8745)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562180 #4B8021
analogous
#272180 #562180 #80217B
triadic
#562180 #805621 #218056
tetradic
#562180 #802721 #4B8021 #217B80
square
#562180 #802721 #4B8021 #217B80
split-complementary
#562180 #7B8021 #218027
monochromatic
#15081F #35144F #562180 #772EB1 #954BD1

Accessibility & contrast

On white

10.91
#562180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#562180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562180
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562180#FFFFFF#000000##FFFFFF
##5621801.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#4E374E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562180;
/* rgb */ color: rgb(86, 33, 128);
/* oklch */ color: oklch(37.8% 0.152 305.7);
Tailwind
colors: {
  custom: {
    50: '#8a61a6',
    500: '#562180',
    950: '#000000',
  },
}
SCSS
$custom: #562180;
$custom-light: #8a61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#562180",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 273.474,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37771,
    "c": 0.15235,
    "h": 305.7
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#562180
secondary
#78B34A
accent
#E2468B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #562180

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

Preview Lab → · Contrast checker → · Palette generator →

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