#5629B1#5629B1

#5629B1 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.198 H 290.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#5629B1
RGBrgb(86, 41, 177)
HSLhsl(260, 62%, 43%)
HSVhsv(260, 77%, 69%)
CMYKcmyk(51.4%, 76.8%, 0%, 30.6%)
CIE-LABlab(31.20, 51.24, -64.46)
CIE-LCHlch(31.20, 82.35, 308.48°)
OKLaboklab(43% 0.0697 -0.1852)
OKLCHoklch(43% 0.198 290.6)
XYZxyz(12.5642, 6.7381, 42.2250)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5629B1 #84B129
analogous
#2940B1 #5629B1 #9A29B1
triadic
#5629B1 #B15629 #29B156
tetradic
#5629B1 #B12940 #84B129 #29B19A
square
#5629B1 #B12940 #84B129 #29B19A
split-complementary
#5629B1 #B19A29 #40B129
monochromatic
#26124E #3E1D7F #5629B1 #7344D4 #9875DF

Accessibility & contrast

On white

8.94
#5629B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5629B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5629B1
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5629B1#FFFFFF#000000##FFFFFF
##5629B11.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#364F6C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5629b1;
/* rgb */ color: rgb(86, 41, 177);
/* oklch */ color: oklch(43.0% 0.198 290.6);
Tailwind
colors: {
  custom: {
    50: '#8f68c9',
    500: '#5629b1',
    950: '#000000',
  },
}
SCSS
$custom: #5629b1;
$custom-light: #8f68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5629b1",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 259.853,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43003,
    "c": 0.1979,
    "h": 290.6
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#5629B1
secondary
#AAC76F
accent
#E542AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5629B1

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

Preview Lab → · Contrast checker → · Palette generator →

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