#5626A0#5626A0

#5626A0 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.182 H 295.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#5626A0
RGBrgb(86, 38, 160)
HSLhsl(264, 62%, 39%)
HSVhsv(264, 76%, 63%)
CMYKcmyk(46.3%, 76.3%, 0%, 37.3%)
CIE-LABlab(29.16, 48.05, -57.57)
CIE-LCHlch(29.16, 74.99, 309.85°)
OKLaboklab(41.1% 0.0768 -0.165)
OKLCHoklch(41.1% 0.182 295)
XYZxyz(10.8743, 5.9024, 33.8172)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5626A0 #70A026
analogous
#2633A0 #5626A0 #9326A0
triadic
#5626A0 #A05626 #26A056
tetradic
#5626A0 #A02633 #70A026 #26A093
square
#5626A0 #A02633 #70A026 #26A093
split-complementary
#5626A0 #A09326 #33A026
monochromatic
#210F3D #3B1A6F #5626A0 #7134CF #9466DB

Accessibility & contrast

On white

9.63
#5626A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5626A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5626A0
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5626A0#FFFFFF#000000##FFFFFF
##5626A01.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#414761
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5626a0;
/* rgb */ color: rgb(86, 38, 160);
/* oklch */ color: oklch(41.1% 0.182 295.0);
Tailwind
colors: {
  custom: {
    50: '#8d66bd',
    500: '#5626a0',
    950: '#000000',
  },
}
SCSS
$custom: #5626a0;
$custom-light: #8d66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5626a0",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 263.607,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.411,
    "c": 0.18198,
    "h": 295
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#5626A0
secondary
#9BC061
accent
#E543A5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5626A0

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

Preview Lab → · Contrast checker → · Palette generator →

#5626A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva