#5627A8#5627A8

#5627A8 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.190 H 292.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#5627A8
RGBrgb(86, 39, 168)
HSLhsl(262, 62%, 41%)
HSVhsv(262, 77%, 66%)
CMYKcmyk(48.8%, 76.8%, 0%, 34.1%)
CIE-LABlab(30.05, 49.73, -60.96)
CIE-LCHlch(30.05, 78.67, 309.21°)
OKLaboklab(41.94% 0.0738 -0.1749)
OKLCHoklch(41.94% 0.19 292.9)
XYZxyz(11.6292, 6.2562, 37.6330)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5627A8 #79A827
analogous
#2739A8 #5627A8 #9627A8
triadic
#5627A8 #A85627 #27A856
tetradic
#5627A8 #A82739 #79A827 #27A896
square
#5627A8 #A82739 #79A827 #27A896
split-complementary
#5627A8 #A89627 #39A827
monochromatic
#231045 #3D1B76 #5627A8 #723BD1 #956CDD

Accessibility & contrast

On white

9.33
#5627A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5627A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5627A8
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5627A8#FFFFFF#000000##FFFFFF
##5627A81.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#3C4A66
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5627a8;
/* rgb */ color: rgb(86, 39, 168);
/* oklch */ color: oklch(41.9% 0.190 292.9);
Tailwind
colors: {
  custom: {
    50: '#8e67c3',
    500: '#5627a8',
    950: '#000000',
  },
}
SCSS
$custom: #5627a8;
$custom-light: #8e67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5627a8",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 261.86,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41943,
    "c": 0.18987,
    "h": 292.9
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#5627A8
secondary
#A2C367
accent
#E542AA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5627A8

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

Preview Lab → · Contrast checker → · Palette generator →

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