#562FB0#562FB0

#562FB0 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.190 H 290.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#562FB0
RGBrgb(86, 47, 176)
HSLhsl(258, 58%, 44%)
HSVhsv(258, 73%, 69%)
CMYKcmyk(51.1%, 73.3%, 0%, 31%)
CIE-LABlab(32.14, 48.06, -62.34)
CIE-LCHlch(32.14, 78.71, 307.63°)
OKLaboklab(43.63% 0.0651 -0.179)
OKLCHoklch(43.63% 0.19 290)
XYZxyz(12.6885, 7.1455, 41.7765)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FB0 #89B02F
analogous
#2F48B0 #562FB0 #962FB0
triadic
#562FB0 #B0562F #2FB056
tetradic
#562FB0 #B02F48 #89B02F #2FB096
square
#562FB0 #B02F48 #89B02F #2FB096
split-complementary
#562FB0 #B0962F #48B02F
monochromatic
#27154F #3E2280 #562FB0 #744DCF #9A7DDC

Accessibility & contrast

On white

8.64
#562FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#562FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562FB0
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FB0#FFFFFF#000000##FFFFFF
##562FB01.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#36516D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #562fb0;
/* rgb */ color: rgb(86, 47, 176);
/* oklch */ color: oklch(43.6% 0.190 290.0);
Tailwind
colors: {
  custom: {
    50: '#8f6bc9',
    500: '#562fb0',
    950: '#000000',
  },
}
SCSS
$custom: #562fb0;
$custom-light: #8f6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#562fb0",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 258.14,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43632,
    "c": 0.19049,
    "h": 290
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#562FB0
secondary
#ADC576
accent
#E147B2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #562FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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