#5627AA#5627AA

#5627AA is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.192 H 292.4°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#5627AA
RGBrgb(86, 39, 170)
HSLhsl(262, 63%, 41%)
HSVhsv(262, 77%, 67%)
CMYKcmyk(49.4%, 77.1%, 0%, 33.3%)
CIE-LABlab(30.23, 50.27, -61.86)
CIE-LCHlch(30.23, 79.71, 309.10°)
OKLaboklab(42.13% 0.0732 -0.1776)
OKLCHoklch(42.13% 0.192 292.4)
XYZxyz(11.8169, 6.3313, 38.6219)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5627AA #7BAA27
analogous
#2739AA #5627AA #9727AA
triadic
#5627AA #AA5627 #27AA56
tetradic
#5627AA #AA2739 #7BAA27 #27AA97
square
#5627AA #AA2739 #7BAA27 #27AA97
split-complementary
#5627AA #AA9727 #39AA27
monochromatic
#241046 #3D1C78 #5627AA #723CD2 #966EDE

Accessibility & contrast

On white

9.27
#5627AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5627AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5627AA#FFFFFF#000000##FFFFFF
##5627AA1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#3B4B67
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5627aa;
/* rgb */ color: rgb(86, 39, 170);
/* oklch */ color: oklch(42.1% 0.192 292.4);
Tailwind
colors: {
  custom: {
    50: '#8e67c4',
    500: '#5627aa',
    950: '#000000',
  },
}
SCSS
$custom: #5627aa;
$custom-light: #8e67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5627aa",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 261.527,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42127,
    "c": 0.19209,
    "h": 292.4
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#5627AA
secondary
#A3C469
accent
#E642AB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5627AA

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

Preview Lab → · Contrast checker → · Palette generator →

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