#562FB7#562FB7

#562FB7 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.199 H 288.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#562FB7
RGBrgb(86, 47, 183)
HSLhsl(257, 59%, 45%)
HSVhsv(257, 74%, 72%)
CMYKcmyk(53%, 74.3%, 0%, 28.2%)
CIE-LABlab(32.77, 50.03, -65.47)
CIE-LCHlch(32.77, 82.39, 307.39°)
OKLaboklab(44.27% 0.0634 -0.1882)
OKLCHoklch(44.27% 0.199 288.6)
XYZxyz(13.3990, 7.4297, 45.5186)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FB7 #90B72F
analogous
#2F4CB7 #562FB7 #9A2FB7
triadic
#562FB7 #B7562F #2FB756
tetradic
#562FB7 #B72F4C #90B72F #2FB79A
square
#562FB7 #B72F4C #90B72F #2FB79A
split-complementary
#562FB7 #B79A2F #4CB72F
monochromatic
#281656 #3F2286 #562FB7 #7651D2 #9C82DF

Accessibility & contrast

On white

8.45
#562FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#562FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562FB7
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FB7#FFFFFF#000000##FFFFFF
##562FB71.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#305471
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #562fb7;
/* rgb */ color: rgb(86, 47, 183);
/* oklch */ color: oklch(44.3% 0.199 288.6);
Tailwind
colors: {
  custom: {
    50: '#906cce',
    500: '#562fb7',
    950: '#000000',
  },
}
SCSS
$custom: #562fb7;
$custom-light: #906cce;
$custom-dark: #000000;
JSON
{
  "hex": "#562fb7",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 257.206,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44269,
    "c": 0.1986,
    "h": 288.6
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#562FB7
secondary
#B2C87A
accent
#E245B5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #562FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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