#562F90#562F90

#562F90 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.152 H 297.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#562F90
RGBrgb(86, 47, 144)
HSLhsl(264, 51%, 37%)
HSVhsv(264, 67%, 56%)
CMYKcmyk(40.3%, 67.4%, 0%, 43.5%)
CIE-LABlab(29.48, 39.14, -47.28)
CIE-LCHlch(29.48, 61.38, 309.62°)
OKLaboklab(40.91% 0.0709 -0.1348)
OKLCHoklch(40.91% 0.152 297.7)
XYZxyz(9.8870, 6.0249, 27.0222)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F90 #69902F
analogous
#2F3890 #562F90 #872F90
triadic
#562F90 #90562F #2F9056
tetradic
#562F90 #902F38 #69902F #2F9087
square
#562F90 #902F38 #69902F #2F9087
split-complementary
#562F90 #90872F #38902F
monochromatic
#1F1134 #3A2062 #562F90 #723EBE #936BCF

Accessibility & contrast

On white

9.52
#562F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#562F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F90
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F90#FFFFFF#000000##FFFFFF
##562F901.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#48455B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #562f90;
/* rgb */ color: rgb(86, 47, 144);
/* oklch */ color: oklch(40.9% 0.152 297.7);
Tailwind
colors: {
  custom: {
    50: '#8a6ab1',
    500: '#562f90',
    950: '#000000',
  },
}
SCSS
$custom: #562f90;
$custom-light: #8a6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#562f90",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 264.124,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40907,
    "c": 0.1523,
    "h": 297.7
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#562F90
secondary
#95B665
accent
#DA4EA2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #562F90

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

Preview Lab → · Contrast checker → · Palette generator →

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