#562485#562485

#562485 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.154 H 303.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#562485
RGBrgb(86, 36, 133)
HSLhsl(271, 57%, 33%)
HSVhsv(271, 73%, 52%)
CMYKcmyk(35.3%, 72.9%, 0%, 47.8%)
CIE-LABlab(26.54, 41.96, -45.20)
CIE-LCHlch(26.54, 61.68, 312.87°)
OKLaboklab(38.54% 0.0848 -0.1286)
OKLCHoklch(38.54% 0.154 303.4)
XYZxyz(8.7013, 4.9336, 22.6796)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562485 #538524
analogous
#262485 #562485 #852483
triadic
#562485 #855624 #248556
tetradic
#562485 #852624 #538524 #248385
square
#562485 #852624 #538524 #248385
split-complementary
#562485 #838524 #248526
monochromatic
#180A25 #371755 #562485 #7531B5 #9453D0

Accessibility & contrast

On white

10.57
#562485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#562485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562485
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562485#FFFFFF#000000##FFFFFF
##5624851.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#4D3B52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562485;
/* rgb */ color: rgb(86, 36, 133);
/* oklch */ color: oklch(38.5% 0.154 303.4);
Tailwind
colors: {
  custom: {
    50: '#8a63a9',
    500: '#562485',
    950: '#000000',
  },
}
SCSS
$custom: #562485;
$custom-light: #8a63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#562485",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 270.928,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3854,
    "c": 0.15407,
    "h": 303.4
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#562485
secondary
#81B450
accent
#E14792
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #562485

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

Preview Lab → · Contrast checker → · Palette generator →

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