#562B90#562B90

#562B90 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.158 H 298.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#562B90
RGBrgb(86, 43, 144)
HSLhsl(266, 54%, 37%)
HSVhsv(266, 70%, 56%)
CMYKcmyk(40.3%, 70.1%, 0%, 43.5%)
CIE-LABlab(28.69, 41.29, -48.55)
CIE-LCHlch(28.69, 63.73, 310.38°)
OKLaboklab(40.35% 0.0754 -0.1385)
OKLCHoklch(40.35% 0.158 298.5)
XYZxyz(9.7344, 5.7197, 26.9713)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B90 #65902B
analogous
#2B3290 #562B90 #892B90
triadic
#562B90 #90562B #2B9056
tetradic
#562B90 #902B32 #65902B #2B9089
square
#562B90 #902B32 #65902B #2B9089
split-complementary
#562B90 #90892B #32902B
monochromatic
#1E0F32 #3A1D61 #562B90 #7239BF #9365D1

Accessibility & contrast

On white

9.79
#562B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#562B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B90
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B90#FFFFFF#000000##FFFFFF
##562B901.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#48435A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #562b90;
/* rgb */ color: rgb(86, 43, 144);
/* oklch */ color: oklch(40.3% 0.158 298.5);
Tailwind
colors: {
  custom: {
    50: '#8b68b1',
    500: '#562b90',
    950: '#000000',
  },
}
SCSS
$custom: #562b90;
$custom-light: #8b68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#562b90",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 265.545,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40347,
    "c": 0.15768,
    "h": 298.5
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#562B90
secondary
#92B760
accent
#DD4A9F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562B90

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

Preview Lab → · Contrast checker → · Palette generator →

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