#5629A8#5629A8

#5629A8 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.188 H 292.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#5629A8
RGBrgb(86, 41, 168)
HSLhsl(261, 61%, 41%)
HSVhsv(261, 76%, 66%)
CMYKcmyk(48.8%, 75.6%, 0%, 34.1%)
CIE-LABlab(30.38, 48.79, -60.42)
CIE-LCHlch(30.38, 77.66, 308.92°)
OKLaboklab(42.17% 0.0721 -0.1734)
OKLCHoklch(42.17% 0.188 292.6)
XYZxyz(11.6966, 6.3911, 37.6555)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5629A8 #7BA829
analogous
#293BA8 #5629A8 #9529A8
triadic
#5629A8 #A85629 #29A856
tetradic
#5629A8 #A8293B #7BA829 #29A895
square
#5629A8 #A8293B #7BA829 #29A895
split-complementary
#5629A8 #A89529 #3BA829
monochromatic
#241146 #3D1D77 #5629A8 #723ED0 #966FDC

Accessibility & contrast

On white

9.22
#5629A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5629A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5629A8
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5629A8#FFFFFF#000000##FFFFFF
##5629A81.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#3C4B67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5629a8;
/* rgb */ color: rgb(86, 41, 168);
/* oklch */ color: oklch(42.2% 0.188 292.6);
Tailwind
colors: {
  custom: {
    50: '#8e68c3',
    500: '#5629a8',
    950: '#000000',
  },
}
SCSS
$custom: #5629a8;
$custom-light: #8e68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5629a8",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 261.26,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42173,
    "c": 0.18778,
    "h": 292.6
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#5629A8
secondary
#A3C36A
accent
#E444AB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5629A8

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

Preview Lab → · Contrast checker → · Palette generator →

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