#562FBF#562FBF

#562FBF is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.208 H 287.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#562FBF
RGBrgb(86, 47, 191)
HSLhsl(256, 61%, 47%)
HSVhsv(256, 75%, 75%)
CMYKcmyk(55%, 75.4%, 0%, 25.1%)
CIE-LABlab(33.50, 52.27, -68.98)
CIE-LCHlch(33.50, 86.55, 307.16°)
OKLaboklab(45.01% 0.0614 -0.1985)
OKLCHoklch(45.01% 0.208 287.2)
XYZxyz(14.2554, 7.7723, 50.0292)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FBF #98BF2F
analogous
#2F50BF #562FBF #9E2FBF
triadic
#562FBF #BF562F #2FBF56
tetradic
#562FBF #BF2F50 #98BF2F #2FBF9E
square
#562FBF #BF2F50 #98BF2F #2FBF9E
split-complementary
#562FBF #BF9E2F #50BF2F
monochromatic
#2A175D #40238E #562FBF #7856D5 #9F87E1

Accessibility & contrast

On white

8.22
#562FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#562FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562FBF
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FBF#FFFFFF#000000##FFFFFF
##562FBF1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562fbf;
/* rgb */ color: rgb(86, 47, 191);
/* oklch */ color: oklch(45.0% 0.208 287.2);
Tailwind
colors: {
  custom: {
    50: '#916cd4',
    500: '#562fbf',
    950: '#000000',
  },
}
SCSS
$custom: #562fbf;
$custom-light: #916cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#562fbf",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 256.25,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.20775,
    "h": 287.2
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #562FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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