#5626A1#5626A1

#5626A1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.183 H 294.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#5626A1
RGBrgb(86, 38, 161)
HSLhsl(263, 62%, 39%)
HSVhsv(263, 76%, 63%)
CMYKcmyk(46.6%, 76.4%, 0%, 36.9%)
CIE-LABlab(29.25, 48.32, -58.03)
CIE-LCHlch(29.25, 75.52, 309.78°)
OKLaboklab(41.19% 0.0765 -0.1663)
OKLCHoklch(41.19% 0.183 294.7)
XYZxyz(10.9621, 5.9376, 34.2798)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5626A1 #71A126
analogous
#2633A1 #5626A1 #9426A1
triadic
#5626A1 #A15626 #26A156
tetradic
#5626A1 #A12633 #71A126 #26A194
square
#5626A1 #A12633 #71A126 #26A194
split-complementary
#5626A1 #A19426 #33A126
monochromatic
#210F3E #3C1A6F #5626A1 #7135CF #9466DB

Accessibility & contrast

On white

9.60
#5626A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5626A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5626A1
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5626A1#FFFFFF#000000##FFFFFF
##5626A11.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#404762
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5626a1;
/* rgb */ color: rgb(86, 38, 161);
/* oklch */ color: oklch(41.2% 0.183 294.7);
Tailwind
colors: {
  custom: {
    50: '#8d66be',
    500: '#5626a1',
    950: '#000000',
  },
}
SCSS
$custom: #5626a1;
$custom-light: #8d66be;
$custom-dark: #000000;
JSON
{
  "hex": "#5626a1",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 263.415,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41191,
    "c": 0.18311,
    "h": 294.7
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#5626A1
secondary
#9CC162
accent
#E543A6
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5626A1

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

Preview Lab → · Contrast checker → · Palette generator →

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