#562185#562185

#562185 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.158 H 303.9°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#562185
RGBrgb(86, 33, 133)
HSLhsl(272, 60%, 33%)
HSVhsv(272, 75%, 52%)
CMYKcmyk(35.3%, 75.2%, 0%, 47.8%)
CIE-LABlab(26.04, 43.39, -46.02)
CIE-LCHlch(26.04, 63.26, 313.31°)
OKLaboklab(38.18% 0.0879 -0.131)
OKLCHoklch(38.18% 0.158 303.9)
XYZxyz(8.6143, 4.7596, 22.6506)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562185 #508521
analogous
#242185 #562185 #852182
triadic
#562185 #855621 #218556
tetradic
#562185 #852421 #508521 #218285
square
#562185 #852421 #508521 #218285
split-complementary
#562185 #828521 #218524
monochromatic
#170923 #361554 #562185 #762DB6 #944DD3

Accessibility & contrast

On white

10.76
#562185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#562185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562185
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562185#FFFFFF#000000##FFFFFF
##5621851.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#4D3951
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562185;
/* rgb */ color: rgb(86, 33, 133);
/* oklch */ color: oklch(38.2% 0.158 303.9);
Tailwind
colors: {
  custom: {
    50: '#8a62a9',
    500: '#562185',
    950: '#000000',
  },
}
SCSS
$custom: #562185;
$custom-light: #8a62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#562185",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 271.8,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38181,
    "c": 0.15781,
    "h": 303.9
  },
  "luminance": 0.0476
}

Semantic roles & 50–950 ramp

primary
#562185
secondary
#7EB64C
accent
#E3448F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #562185

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

Preview Lab → · Contrast checker → · Palette generator →

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