#5627A2#5627A2

#5627A2 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.183 H 294.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#5627A2
RGBrgb(86, 39, 162)
HSLhsl(263, 61%, 39%)
HSVhsv(263, 76%, 64%)
CMYKcmyk(46.9%, 75.9%, 0%, 36.5%)
CIE-LABlab(29.51, 48.12, -58.22)
CIE-LCHlch(29.51, 75.54, 309.57°)
OKLaboklab(41.4% 0.0754 -0.1669)
OKLCHoklch(41.4% 0.183 294.3)
XYZxyz(11.0831, 6.0378, 34.7569)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5627A2 #73A227
analogous
#2735A2 #5627A2 #9427A2
triadic
#5627A2 #A25627 #27A256
tetradic
#5627A2 #A22735 #73A227 #27A294
square
#5627A2 #A22735 #73A227 #27A294
split-complementary
#5627A2 #A29427 #35A227
monochromatic
#220F3F #3C1B71 #5627A2 #7137CF #9469DB

Accessibility & contrast

On white

9.51
#5627A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5627A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5627A2
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5627A2#FFFFFF#000000##FFFFFF
##5627A21.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#404863
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5627a2;
/* rgb */ color: rgb(86, 39, 162);
/* oklch */ color: oklch(41.4% 0.183 294.3);
Tailwind
colors: {
  custom: {
    50: '#8d66bf',
    500: '#5627a2',
    950: '#000000',
  },
}
SCSS
$custom: #5627a2;
$custom-light: #8d66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5627a2",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 262.927,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41396,
    "c": 0.18316,
    "h": 294.3
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#5627A2
secondary
#9DC164
accent
#E443A7
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5627A2

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

Preview Lab → · Contrast checker → · Palette generator →

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