#5627A6#5627A6

#5627A6 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.188 H 293.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#5627A6
RGBrgb(86, 39, 166)
HSLhsl(262, 62%, 40%)
HSVhsv(262, 77%, 65%)
CMYKcmyk(48.2%, 76.5%, 0%, 34.9%)
CIE-LABlab(29.87, 49.19, -60.05)
CIE-LCHlch(29.87, 77.63, 309.32°)
OKLaboklab(41.76% 0.0743 -0.1723)
OKLCHoklch(41.76% 0.188 293.3)
XYZxyz(11.4443, 6.1823, 36.6593)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5627A6 #77A627
analogous
#2737A6 #5627A6 #9627A6
triadic
#5627A6 #A65627 #27A656
tetradic
#5627A6 #A62737 #77A627 #27A696
square
#5627A6 #A62737 #77A627 #27A696
split-complementary
#5627A6 #A69627 #37A627
monochromatic
#231043 #3C1B74 #5627A6 #713AD1 #956BDC

Accessibility & contrast

On white

9.39
#5627A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5627A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5627A6
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5627A6#FFFFFF#000000##FFFFFF
##5627A61.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#3D4A65
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5627a6;
/* rgb */ color: rgb(86, 39, 166);
/* oklch */ color: oklch(41.8% 0.188 293.3);
Tailwind
colors: {
  custom: {
    50: '#8e66c1',
    500: '#5627a6',
    950: '#000000',
  },
}
SCSS
$custom: #5627a6;
$custom-light: #8e66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5627a6",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 262.205,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41759,
    "c": 0.18763,
    "h": 293.3
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#5627A6
secondary
#A0C366
accent
#E543A9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5627A6

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

Preview Lab → · Contrast checker → · Palette generator →

#5627A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva