#562B89#562B89

#562B89 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.149 H 300.7°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#562B89
RGBrgb(86, 43, 137)
HSLhsl(267, 52%, 35%)
HSVhsv(267, 69%, 54%)
CMYKcmyk(37.2%, 68.6%, 0%, 46.3%)
CIE-LABlab(28.15, 39.42, -45.10)
CIE-LCHlch(28.15, 59.90, 311.15°)
OKLaboklab(39.78% 0.0764 -0.1284)
OKLCHoklch(39.78% 0.149 300.7)
XYZxyz(9.2159, 5.5123, 24.2405)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B89 #5E892B
analogous
#2B2F89 #562B89 #852B89
triadic
#562B89 #89562B #2B8956
tetradic
#562B89 #892B2F #5E892B #2B8985
square
#562B89 #892B2F #5E892B #2B8985
split-complementary
#562B89 #89852B #2F892B
monochromatic
#1C0E2C #391C5A #562B89 #733AB8 #9361CD

Accessibility & contrast

On white

9.99
#562B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#562B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B89
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B89#FFFFFF#000000##FFFFFF
##562B891.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#4B4156
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562b89;
/* rgb */ color: rgb(86, 43, 137);
/* oklch */ color: oklch(39.8% 0.149 300.7);
Tailwind
colors: {
  custom: {
    50: '#8a67ac',
    500: '#562b89',
    950: '#000000',
  },
}
SCSS
$custom: #562b89;
$custom-light: #8a67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#562b89",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 267.447,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39783,
    "c": 0.14937,
    "h": 300.7
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#562B89
secondary
#8CB35C
accent
#DC4C9A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562B89

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

Preview Lab → · Contrast checker → · Palette generator →

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