#562E85#562E85

#562E85 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.140 H 301.5°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#562E85
RGBrgb(86, 46, 133)
HSLhsl(268, 49%, 35%)
HSVhsv(268, 65%, 52%)
CMYKcmyk(35.3%, 65.4%, 0%, 47.8%)
CIE-LABlab(28.45, 36.71, -42.12)
CIE-LCHlch(28.45, 55.87, 311.07°)
OKLaboklab(39.91% 0.0732 -0.1196)
OKLCHoklch(39.91% 0.14 301.5)
XYZxyz(9.0474, 5.6258, 22.7950)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E85 #5D852E
analogous
#2E3285 #562E85 #812E85
triadic
#562E85 #85562E #2E8556
tetradic
#562E85 #852E32 #5D852E #2E8581
square
#562E85 #852E32 #5D852E #2E8581
split-complementary
#562E85 #85812E #32852E
monochromatic
#1B0F2A #391E58 #562E85 #733EB2 #9364C9

Accessibility & contrast

On white

9.88
#562E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#562E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E85
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E85#FFFFFF#000000##FFFFFF
##562E851.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#0E4383
Tritanopia (blue-blind)
#4C4155
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #562e85;
/* rgb */ color: rgb(86, 46, 133);
/* oklch */ color: oklch(39.9% 0.140 301.5);
Tailwind
colors: {
  custom: {
    50: '#8969a9',
    500: '#562e85',
    950: '#000000',
  },
}
SCSS
$custom: #562e85;
$custom-light: #8969a9;
$custom-dark: #000000;
JSON
{
  "hex": "#562e85",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 267.586,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39906,
    "c": 0.14023,
    "h": 301.5
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#562E85
secondary
#8BB05F
accent
#D85099
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562E85

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

Preview Lab → · Contrast checker → · Palette generator →

#562E85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva