#5626A6#5626A6

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

Color values

HEX#5626A6
RGBrgb(86, 38, 166)
HSLhsl(263, 63%, 40%)
HSVhsv(263, 77%, 65%)
CMYKcmyk(48.2%, 77.1%, 0%, 34.9%)
CIE-LABlab(29.71, 49.65, -60.32)
CIE-LCHlch(29.71, 78.13, 309.46°)
OKLaboklab(41.65% 0.0752 -0.173)
OKLCHoklch(41.65% 0.189 293.5)
XYZxyz(11.4119, 6.1175, 36.6485)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5626A6 #76A626
analogous
#2636A6 #5626A6 #9626A6
triadic
#5626A6 #A65626 #26A656
tetradic
#5626A6 #A62636 #76A626 #26A696
square
#5626A6 #A62636 #76A626 #26A696
split-complementary
#5626A6 #A69626 #36A626
monochromatic
#220F42 #3C1B74 #5626A6 #7138D1 #956ADD

Accessibility & contrast

On white

9.44
#5626A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5626A6
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5626A6#FFFFFF#000000##FFFFFF
##5626A61.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#3D4965
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5626a6;
/* rgb */ color: rgb(86, 38, 166);
/* oklch */ color: oklch(41.6% 0.189 293.5);
Tailwind
colors: {
  custom: {
    50: '#8e66c1',
    500: '#5626a6',
    950: '#000000',
  },
}
SCSS
$custom: #5626a6;
$custom-light: #8e66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5626a6",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 262.5,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.41647,
    "c": 0.18866,
    "h": 293.5
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#5626A6
secondary
#A0C365
accent
#E642A8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5626A6

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

Preview Lab → · Contrast checker → · Palette generator →

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