#562FBC#562FBC

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

Color values

HEX#562FBC
RGBrgb(86, 47, 188)
HSLhsl(257, 60%, 46%)
HSVhsv(257, 75%, 74%)
CMYKcmyk(54.3%, 75%, 0%, 26.3%)
CIE-LABlab(33.23, 51.43, -67.67)
CIE-LCHlch(33.23, 85.00, 307.24°)
OKLaboklab(44.73% 0.0622 -0.1946)
OKLCHoklch(44.73% 0.204 287.7)
XYZxyz(13.9287, 7.6416, 48.3082)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FBC #95BC2F
analogous
#2F4EBC #562FBC #9C2FBC
triadic
#562FBC #BC562F #2FBC56
tetradic
#562FBC #BC2F4E #95BC2F #2FBC9C
square
#562FBC #BC2F4E #95BC2F #2FBC9C
split-complementary
#562FBC #BC9C2F #4EBC2F
monochromatic
#29175A #40238B #562FBC #7754D4 #9E85E0

Accessibility & contrast

On white

8.31
#562FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#562FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562FBC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FBC#FFFFFF#000000##FFFFFF
##562FBC1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#2C5673
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #562fbc;
/* rgb */ color: rgb(86, 47, 188);
/* oklch */ color: oklch(44.7% 0.204 287.7);
Tailwind
colors: {
  custom: {
    50: '#906cd1',
    500: '#562fbc',
    950: '#000000',
  },
}
SCSS
$custom: #562fbc;
$custom-light: #906cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#562fbc",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 256.596,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44732,
    "c": 0.20433,
    "h": 287.7
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#562FBC
secondary
#B5CA7D
accent
#E345B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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