#562280#562280

#562280 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.151 H 305.5°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#562280
RGBrgb(86, 34, 128)
HSLhsl(273, 58%, 32%)
HSVhsv(273, 73%, 50%)
CMYKcmyk(32.8%, 73.4%, 0%, 49.8%)
CIE-LABlab(25.81, 41.68, -43.26)
CIE-LCHlch(25.81, 60.07, 313.93°)
OKLaboklab(37.89% 0.0878 -0.1229)
OKLCHoklch(37.89% 0.151 305.5)
XYZxyz(8.3052, 4.6811, 20.8839)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562280 #4C8022
analogous
#272280 #562280 #80227B
triadic
#562280 #805622 #228056
tetradic
#562280 #802722 #4C8022 #227B80
square
#562280 #802722 #4C8022 #227B80
split-complementary
#562280 #7B8022 #228027
monochromatic
#15081F #361550 #562280 #762FB0 #954DD0

Accessibility & contrast

On white

10.85
#562280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#562280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562280
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562280#FFFFFF#000000##FFFFFF
##5622801.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562280;
/* rgb */ color: rgb(86, 34, 128);
/* oklch */ color: oklch(37.9% 0.151 305.5);
Tailwind
colors: {
  custom: {
    50: '#8a62a6',
    500: '#562280',
    950: '#000000',
  },
}
SCSS
$custom: #562280;
$custom-light: #8a62a6;
$custom-dark: #000000;
JSON
{
  "hex": "#562280",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 273.191,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37891,
    "c": 0.15107,
    "h": 305.5
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#562280
secondary
#79B24B
accent
#E1478C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #562280

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

Preview Lab → · Contrast checker → · Palette generator →

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