#5629A2#5629A2

#5629A2 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.181 H 294.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#5629A2
RGBrgb(86, 41, 162)
HSLhsl(262, 60%, 40%)
HSVhsv(262, 75%, 64%)
CMYKcmyk(46.9%, 74.7%, 0%, 36.5%)
CIE-LABlab(29.84, 47.17, -57.67)
CIE-LCHlch(29.84, 74.50, 309.28°)
OKLaboklab(41.63% 0.0736 -0.1653)
OKLCHoklch(41.63% 0.181 294)
XYZxyz(11.1505, 6.1726, 34.7793)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5629A2 #75A229
analogous
#2939A2 #5629A2 #9329A2
triadic
#5629A2 #A25629 #29A256
tetradic
#5629A2 #A22939 #75A229 #29A293
square
#5629A2 #A22939 #75A229 #29A293
split-complementary
#5629A2 #A29329 #39A229
monochromatic
#221040 #3C1D71 #5629A2 #713BCD #956CDA

Accessibility & contrast

On white

9.40
#5629A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5629A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5629A2
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5629A2#FFFFFF#000000##FFFFFF
##5629A21.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#404963
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5629a2;
/* rgb */ color: rgb(86, 41, 162);
/* oklch */ color: oklch(41.6% 0.181 294.0);
Tailwind
colors: {
  custom: {
    50: '#8d67bf',
    500: '#5629a2',
    950: '#000000',
  },
}
SCSS
$custom: #5629a2;
$custom-light: #8d67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5629a2",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 262.314,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41633,
    "c": 0.18097,
    "h": 294
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#5629A2
secondary
#9FC067
accent
#E345A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5629A2

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

Preview Lab → · Contrast checker → · Palette generator →

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