#5627AE#5627AE

#5627AE is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.197 H 291.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#5627AE
RGBrgb(86, 39, 174)
HSLhsl(261, 63%, 42%)
HSVhsv(261, 78%, 68%)
CMYKcmyk(50.6%, 77.6%, 0%, 31.8%)
CIE-LABlab(30.60, 51.34, -63.65)
CIE-LCHlch(30.60, 81.78, 308.89°)
OKLaboklab(42.5% 0.0721 -0.1828)
OKLCHoklch(42.5% 0.197 291.5)
XYZxyz(12.2011, 6.4850, 40.6450)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5627AE #7FAE27
analogous
#273CAE #5627AE #9A27AE
triadic
#5627AE #AE5627 #27AE56
tetradic
#5627AE #AE273C #7FAE27 #27AE9A
square
#5627AE #AE273C #7FAE27 #27AE9A
split-complementary
#5627AE #AE9A27 #3CAE27
monochromatic
#25114A #3D1C7C #5627AE #723ED4 #9770DF

Accessibility & contrast

On white

9.14
#5627AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5627AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5627AE
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5627AE#FFFFFF#000000##FFFFFF
##5627AE1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#384D6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5627ae;
/* rgb */ color: rgb(86, 39, 174);
/* oklch */ color: oklch(42.5% 0.197 291.5);
Tailwind
colors: {
  custom: {
    50: '#8f67c7',
    500: '#5627ae',
    950: '#000000',
  },
}
SCSS
$custom: #5627ae;
$custom-light: #8f67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5627ae",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 260.889,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.425,
    "c": 0.19653,
    "h": 291.5
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#5627AE
secondary
#A6C66B
accent
#E641AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5627AE

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

Preview Lab → · Contrast checker → · Palette generator →

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