#562EBD#562EBD

#562EBD is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.206 H 287.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#562EBD
RGBrgb(86, 46, 189)
HSLhsl(257, 61%, 46%)
HSVhsv(257, 76%, 74%)
CMYKcmyk(54.5%, 75.7%, 0%, 25.9%)
CIE-LABlab(33.15, 52.20, -68.39)
CIE-LCHlch(33.15, 86.03, 307.35°)
OKLaboklab(44.71% 0.0626 -0.1967)
OKLCHoklch(44.71% 0.206 287.7)
XYZxyz(13.9973, 7.6058, 48.8648)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EBD #95BD2E
analogous
#2E4DBD #562EBD #9D2EBD
triadic
#562EBD #BD562E #2EBD56
tetradic
#562EBD #BD2E4D #95BD2E #2EBD9D
square
#562EBD #BD2E4D #95BD2E #2EBD9D
split-complementary
#562EBD #BD9D2E #4DBD2E
monochromatic
#29165B #40228C #562EBD #7753D5 #9E84E1

Accessibility & contrast

On white

8.33
#562EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#562EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562EBD
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EBD#FFFFFF#000000##FFFFFF
##562EBD1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#2B5674
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #562ebd;
/* rgb */ color: rgb(86, 46, 189);
/* oklch */ color: oklch(44.7% 0.206 287.7);
Tailwind
colors: {
  custom: {
    50: '#916bd2',
    500: '#562ebd',
    950: '#000000',
  },
}
SCSS
$custom: #562ebd;
$custom-light: #916bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#562ebd",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 256.783,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44707,
    "c": 0.20647,
    "h": 287.7
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#562EBD
secondary
#B5CA7C
accent
#E444B7
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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