#562E92#562E92

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

Color values

HEX#562E92
RGBrgb(86, 46, 146)
HSLhsl(264, 52%, 38%)
HSVhsv(264, 68%, 57%)
CMYKcmyk(41.1%, 68.5%, 0%, 42.7%)
CIE-LABlab(29.43, 40.23, -48.58)
CIE-LCHlch(29.43, 63.08, 309.63°)
OKLaboklab(40.92% 0.0718 -0.1386)
OKLCHoklch(40.92% 0.156 297.4)
XYZxyz(10.0017, 6.0076, 27.8212)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E92 #6A922E
analogous
#2E3892 #562E92 #882E92
triadic
#562E92 #92562E #2E9256
tetradic
#562E92 #922E38 #6A922E #2E9288
square
#562E92 #922E38 #6A922E #2E9288
split-complementary
#562E92 #92882E #38922E
monochromatic
#1F1135 #3B1F63 #562E92 #713DC1 #936AD0

Accessibility & contrast

On white

9.54
#562E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#562E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E92
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E92#FFFFFF#000000##FFFFFF
##562E921.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#47465C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #562e92;
/* rgb */ color: rgb(86, 46, 146);
/* oklch */ color: oklch(40.9% 0.156 297.4);
Tailwind
colors: {
  custom: {
    50: '#8b6ab3',
    500: '#562e92',
    950: '#000000',
  },
}
SCSS
$custom: #562e92;
$custom-light: #8b6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#562e92",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 264,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40925,
    "c": 0.15609,
    "h": 297.4
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#562E92
secondary
#96B765
accent
#DC4CA2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562E92

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

Preview Lab → · Contrast checker → · Palette generator →

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