#5629A4#5629A4

#5629A4 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.183 H 293.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#5629A4
RGBrgb(86, 41, 164)
HSLhsl(262, 60%, 40%)
HSVhsv(262, 75%, 64%)
CMYKcmyk(47.6%, 75%, 0%, 35.7%)
CIE-LABlab(30.02, 47.71, -58.59)
CIE-LCHlch(30.02, 75.56, 309.15°)
OKLaboklab(41.81% 0.0732 -0.168)
OKLCHoklch(41.81% 0.183 293.5)
XYZxyz(11.3297, 6.2443, 35.7231)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5629A4 #77A429
analogous
#293AA4 #5629A4 #9329A4
triadic
#5629A4 #A45629 #29A456
tetradic
#5629A4 #A4293A #77A429 #29A493
square
#5629A4 #A4293A #77A429 #29A493
split-complementary
#5629A4 #A49329 #3AA429
monochromatic
#231142 #3C1D73 #5629A4 #713CCE #956DDA

Accessibility & contrast

On white

9.34
#5629A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5629A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5629A4
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5629A4#FFFFFF#000000##FFFFFF
##5629A41.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#3E4A64
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5629a4;
/* rgb */ color: rgb(86, 41, 164);
/* oklch */ color: oklch(41.8% 0.183 293.5);
Tailwind
colors: {
  custom: {
    50: '#8d67c0',
    500: '#5629a4',
    950: '#000000',
  },
}
SCSS
$custom: #5629a4;
$custom-light: #8d67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5629a4",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 261.951,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.18326,
    "h": 293.5
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#5629A4
secondary
#A0C168
accent
#E345A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5629A4

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

Preview Lab → · Contrast checker → · Palette generator →

#5629A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva