#5627A5#5627A5

#5627A5 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.187 H 293.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#5627A5
RGBrgb(86, 39, 165)
HSLhsl(262, 62%, 40%)
HSVhsv(262, 76%, 65%)
CMYKcmyk(47.9%, 76.4%, 0%, 35.3%)
CIE-LABlab(29.78, 48.93, -59.60)
CIE-LCHlch(29.78, 77.11, 309.38°)
OKLaboklab(41.67% 0.0746 -0.1709)
OKLCHoklch(41.67% 0.187 293.6)
XYZxyz(11.3529, 6.1457, 36.1781)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5627A5 #76A527
analogous
#2737A5 #5627A5 #9527A5
triadic
#5627A5 #A55627 #27A556
tetradic
#5627A5 #A52737 #76A527 #27A595
square
#5627A5 #A52737 #76A527 #27A595
split-complementary
#5627A5 #A59527 #37A527
monochromatic
#221042 #3C1B74 #5627A5 #7139D0 #956ADC

Accessibility & contrast

On white

9.42
#5627A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5627A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5627A5#FFFFFF#000000##FFFFFF
##5627A51.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#3E4965
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5627a5;
/* rgb */ color: rgb(86, 39, 165);
/* oklch */ color: oklch(41.7% 0.187 293.6);
Tailwind
colors: {
  custom: {
    50: '#8e66c1',
    500: '#5627a5',
    950: '#000000',
  },
}
SCSS
$custom: #5627a5;
$custom-light: #8e66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5627a5",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 262.381,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.41668,
    "c": 0.18651,
    "h": 293.6
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#5627A5
secondary
#A0C266
accent
#E543A8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5627A5

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

Preview Lab → · Contrast checker → · Palette generator →

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