#562690#562690

#562690 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.164 H 299.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#562690
RGBrgb(86, 38, 144)
HSLhsl(267, 58%, 36%)
HSVhsv(267, 74%, 56%)
CMYKcmyk(40.3%, 73.6%, 0%, 43.5%)
CIE-LABlab(27.79, 43.82, -50.02)
CIE-LCHlch(27.79, 66.51, 311.22°)
OKLaboklab(39.7% 0.0806 -0.1428)
OKLCHoklch(39.7% 0.164 299.4)
XYZxyz(9.5636, 5.3782, 26.9144)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562690 #609026
analogous
#262B90 #562690 #8B2690
triadic
#562690 #905626 #269056
tetradic
#562690 #90262B #609026 #26908B
square
#562690 #90262B #609026 #26908B
split-complementary
#562690 #908B26 #2B9026
monochromatic
#1C0C2F #391960 #562690 #7333C0 #935CD4

Accessibility & contrast

On white

10.12
#562690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#562690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562690
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562690#FFFFFF#000000##FFFFFF
##5626901.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#484058
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562690;
/* rgb */ color: rgb(86, 38, 144);
/* oklch */ color: oklch(39.7% 0.164 299.4);
Tailwind
colors: {
  custom: {
    50: '#8b65b1',
    500: '#562690',
    950: '#000000',
  },
}
SCSS
$custom: #562690;
$custom-light: #8b65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#562690",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 267.17,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39701,
    "c": 0.164,
    "h": 299.4
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#562690
secondary
#8DB959
accent
#E1469B
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562690

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

Preview Lab → · Contrast checker → · Palette generator →

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