#5629A5#5629A5

#5629A5 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.184 H 293.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#5629A5
RGBrgb(86, 41, 165)
HSLhsl(262, 60%, 40%)
HSVhsv(262, 75%, 65%)
CMYKcmyk(47.9%, 75.2%, 0%, 35.3%)
CIE-LABlab(30.11, 47.98, -59.05)
CIE-LCHlch(30.11, 76.09, 309.09°)
OKLaboklab(41.9% 0.0729 -0.1694)
OKLCHoklch(41.9% 0.184 293.3)
XYZxyz(11.4203, 6.2806, 36.2006)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5629A5 #78A529
analogous
#293AA5 #5629A5 #9429A5
triadic
#5629A5 #A55629 #29A556
tetradic
#5629A5 #A5293A #78A529 #29A594
square
#5629A5 #A5293A #78A529 #29A594
split-complementary
#5629A5 #A59429 #3AA529
monochromatic
#231143 #3C1D74 #5629A5 #723DCF #956EDB

Accessibility & contrast

On white

9.31
#5629A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5629A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5629A5
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5629A5#FFFFFF#000000##FFFFFF
##5629A51.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#3E4A65
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5629a5;
/* rgb */ color: rgb(86, 41, 165);
/* oklch */ color: oklch(41.9% 0.184 293.3);
Tailwind
colors: {
  custom: {
    50: '#8d67c1',
    500: '#5629a5',
    950: '#000000',
  },
}
SCSS
$custom: #5629a5;
$custom-light: #8d67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5629a5",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 261.774,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41902,
    "c": 0.18439,
    "h": 293.3
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#5629A5
secondary
#A1C268
accent
#E344AA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5629A5

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

Preview Lab → · Contrast checker → · Palette generator →

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