#562EBF#562EBF

#562EBF is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.9% C 0.209 H 287.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#562EBF
RGBrgb(86, 46, 191)
HSLhsl(257, 61%, 46%)
HSVhsv(257, 76%, 75%)
CMYKcmyk(55%, 75.9%, 0%, 25.1%)
CIE-LABlab(33.34, 52.75, -69.25)
CIE-LCHlch(33.34, 87.06, 307.30°)
OKLaboklab(44.9% 0.0621 -0.1993)
OKLCHoklch(44.9% 0.209 287.3)
XYZxyz(14.2159, 7.6933, 50.0160)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EBF #97BF2E
analogous
#2E4FBF #562EBF #9F2EBF
triadic
#562EBF #BF562E #2EBF56
tetradic
#562EBF #BF2E4F #97BF2E #2EBF9F
square
#562EBF #BF2E4F #97BF2E #2EBF9F
split-complementary
#562EBF #BF9F2E #4FBF2E
monochromatic
#2A165C #40228E #562EBF #7854D6 #9F86E2

Accessibility & contrast

On white

8.27
#562EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#562EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562EBF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EBF#FFFFFF#000000##FFFFFF
##562EBF1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#004ABC
Tritanopia (blue-blind)
#285775
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #562ebf;
/* rgb */ color: rgb(86, 46, 191);
/* oklch */ color: oklch(44.9% 0.209 287.3);
Tailwind
colors: {
  custom: {
    50: '#916bd4',
    500: '#562ebf',
    950: '#000000',
  },
}
SCSS
$custom: #562ebf;
$custom-light: #916bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#562ebf",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 256.552,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44895,
    "c": 0.20874,
    "h": 287.3
  },
  "luminance": 0.07694
}

Semantic roles & 50–950 ramp

primary
#562EBF
secondary
#B6CB7E
accent
#E444B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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