#562092#562092

#562092 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.173 H 299.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#562092
RGBrgb(86, 32, 146)
HSLhsl(268, 64%, 35%)
HSVhsv(268, 78%, 57%)
CMYKcmyk(41.1%, 78.1%, 0%, 42.7%)
CIE-LABlab(26.98, 47.12, -52.57)
CIE-LCHlch(26.98, 70.60, 311.87°)
OKLaboklab(39.19% 0.0858 -0.1503)
OKLCHoklch(39.19% 0.173 299.7)
XYZxyz(9.5413, 5.0867, 27.6677)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562092 #5C9220
analogous
#202392 #562092 #8F2092
triadic
#562092 #925620 #209256
tetradic
#562092 #922023 #5C9220 #20928F
square
#562092 #922023 #5C9220 #20928F
split-complementary
#562092 #928F20 #239220
monochromatic
#1B0A2E #381560 #562092 #742BC4 #9353D9

Accessibility & contrast

On white

10.41
#562092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#562092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562092
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562092#FFFFFF#000000##FFFFFF
##5620921.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#483E58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562092;
/* rgb */ color: rgb(86, 32, 146);
/* oklch */ color: oklch(39.2% 0.173 299.7);
Tailwind
colors: {
  custom: {
    50: '#8c62b3',
    500: '#562092',
    950: '#000000',
  },
}
SCSS
$custom: #562092;
$custom-light: #8c62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#562092",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 268.421,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39186,
    "c": 0.17303,
    "h": 299.7
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#562092
secondary
#8ABD51
accent
#E74198
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #562092

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

Preview Lab → · Contrast checker → · Palette generator →

#562092 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva