#562093#562093

#562093 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.174 H 299.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#562093
RGBrgb(86, 32, 147)
HSLhsl(268, 64%, 35%)
HSVhsv(268, 78%, 58%)
CMYKcmyk(41.5%, 78.2%, 0%, 42.4%)
CIE-LABlab(27.07, 47.37, -53.05)
CIE-LCHlch(27.07, 71.12, 311.76°)
OKLaboklab(39.28% 0.0855 -0.1517)
OKLCHoklch(39.28% 0.174 299.4)
XYZxyz(9.6194, 5.1179, 28.0792)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562093 #5D9320
analogous
#202393 #562093 #902093
triadic
#562093 #935620 #209356
tetradic
#562093 #932023 #5D9320 #209390
square
#562093 #932023 #5D9320 #209390
split-complementary
#562093 #939020 #239320
monochromatic
#1B0A2E #391561 #562093 #732BC5 #9354DA

Accessibility & contrast

On white

10.38
#562093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562093
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562093#FFFFFF#000000##FFFFFF
##5620931.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#473F59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562093;
/* rgb */ color: rgb(86, 32, 147);
/* oklch */ color: oklch(39.3% 0.174 299.4);
Tailwind
colors: {
  custom: {
    50: '#8c62b4',
    500: '#562093',
    950: '#000000',
  },
}
SCSS
$custom: #562093;
$custom-light: #8c62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#562093",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 268.174,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39275,
    "c": 0.17411,
    "h": 299.4
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#562093
secondary
#8BBD52
accent
#E74199
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #562093

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

Preview Lab → · Contrast checker → · Palette generator →

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