#5626A5#5626A5

#5626A5 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.188 H 293.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#5626A5
RGBrgb(86, 38, 165)
HSLhsl(263, 63%, 40%)
HSVhsv(263, 77%, 65%)
CMYKcmyk(47.9%, 77%, 0%, 35.3%)
CIE-LABlab(29.62, 49.39, -59.86)
CIE-LCHlch(29.62, 77.61, 309.52°)
OKLaboklab(41.56% 0.0754 -0.1717)
OKLCHoklch(41.56% 0.188 293.7)
XYZxyz(11.3205, 6.0809, 36.1673)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5626A5 #75A526
analogous
#2636A5 #5626A5 #9626A5
triadic
#5626A5 #A55626 #26A556
tetradic
#5626A5 #A52636 #75A526 #26A596
square
#5626A5 #A52636 #75A526 #26A596
split-complementary
#5626A5 #A59626 #36A526
monochromatic
#220F42 #3C1B73 #5626A5 #7137D1 #9569DC

Accessibility & contrast

On white

9.48
#5626A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5626A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5626A5
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5626A5#FFFFFF#000000##FFFFFF
##5626A51.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#3E4964
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5626a5;
/* rgb */ color: rgb(86, 38, 165);
/* oklch */ color: oklch(41.6% 0.188 293.7);
Tailwind
colors: {
  custom: {
    50: '#8e66c1',
    500: '#5626a5',
    950: '#000000',
  },
}
SCSS
$custom: #5626a5;
$custom-light: #8e66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5626a5",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 262.677,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41555,
    "c": 0.18755,
    "h": 293.7
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#5626A5
secondary
#9FC364
accent
#E642A8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5626A5

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

Preview Lab → · Contrast checker → · Palette generator →

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