#5626BD#5626BD

#5626BD is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.8% C 0.214 H 288.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#5626BD
RGBrgb(86, 38, 189)
HSLhsl(259, 67%, 45%)
HSVhsv(259, 80%, 74%)
CMYKcmyk(54.5%, 79.9%, 0%, 25.9%)
CIE-LABlab(31.89, 55.81, -70.45)
CIE-LCHlch(31.89, 89.88, 308.38°)
OKLaboklab(43.83% 0.0682 -0.2027)
OKLCHoklch(43.83% 0.214 288.6)
XYZxyz(13.7135, 7.0381, 48.7701)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5626BD #8DBD26
analogous
#2641BD #5626BD #A226BD
triadic
#5626BD #BD5626 #26BD56
tetradic
#5626BD #BD2641 #8DBD26 #26BDA2
square
#5626BD #BD2641 #8DBD26 #26BDA2
split-complementary
#5626BD #BDA226 #41BD26
monochromatic
#281257 #3F1C8A #5626BD #7546DA #9B79E4

Accessibility & contrast

On white

8.72
#5626BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5626BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5626BD
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5626BD#FFFFFF#000000##FFFFFF
##5626BD1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#2B5372
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5626bd;
/* rgb */ color: rgb(86, 38, 189);
/* oklch */ color: oklch(43.8% 0.214 288.6);
Tailwind
colors: {
  custom: {
    50: '#9167d2',
    500: '#5626bd',
    950: '#000000',
  },
}
SCSS
$custom: #5626bd;
$custom-light: #9167d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5626bd",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 259.073,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43832,
    "c": 0.21386,
    "h": 288.6
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#5626BD
secondary
#B0CC73
accent
#E93EB3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5626BD

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

Preview Lab → · Contrast checker → · Palette generator →

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