#562FA0#562FA0

#562FA0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.172 H 293.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#562FA0
RGBrgb(86, 47, 160)
HSLhsl(261, 55%, 41%)
HSVhsv(261, 71%, 63%)
CMYKcmyk(46.3%, 70.6%, 0%, 37.3%)
CIE-LABlab(30.76, 43.57, -54.97)
CIE-LCHlch(30.76, 70.14, 308.40°)
OKLaboklab(42.23% 0.0684 -0.1574)
OKLCHoklch(42.23% 0.172 293.5)
XYZxyz(11.1977, 6.5492, 33.9250)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FA0 #79A02F
analogous
#2F40A0 #562FA0 #8E2FA0
triadic
#562FA0 #A0562F #2FA056
tetradic
#562FA0 #A02F40 #79A02F #2FA08E
square
#562FA0 #A02F40 #79A02F #2FA08E
split-complementary
#562FA0 #A08E2F #40A02F
monochromatic
#231341 #3D2171 #562FA0 #7244C8 #9573D6

Accessibility & contrast

On white

9.09
#562FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#562FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562FA0
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FA0#FFFFFF#000000##FFFFFF
##562FA01.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#404B64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #562fa0;
/* rgb */ color: rgb(86, 47, 160);
/* oklch */ color: oklch(42.2% 0.172 293.5);
Tailwind
colors: {
  custom: {
    50: '#8c6bbd',
    500: '#562fa0',
    950: '#000000',
  },
}
SCSS
$custom: #562fa0;
$custom-light: #8c6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#562fa0",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 260.708,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42228,
    "c": 0.17163,
    "h": 293.5
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

primary
#562FA0
secondary
#A2BE6D
accent
#DE4AAB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #562FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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