#5629BA#5629BA

#5629BA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.208 H 288.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#5629BA
RGBrgb(86, 41, 186)
HSLhsl(259, 64%, 45%)
HSVhsv(259, 78%, 73%)
CMYKcmyk(53.8%, 78%, 0%, 27.1%)
CIE-LABlab(32.05, 53.69, -68.41)
CIE-LCHlch(32.05, 86.97, 308.13°)
OKLaboklab(43.86% 0.0671 -0.1968)
OKLCHoklch(43.86% 0.208 288.8)
XYZxyz(13.4910, 7.1088, 47.1061)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5629BA #8DBA29
analogous
#2944BA #5629BA #9F29BA
triadic
#5629BA #BA5629 #29BA56
tetradic
#5629BA #BA2944 #8DBA29 #29BA9F
square
#5629BA #BA2944 #8DBA29 #29BA9F
split-complementary
#5629BA #BA9F29 #44BA29
monochromatic
#281356 #3F1E88 #5629BA #7549D7 #9B7BE2

Accessibility & contrast

On white

8.67
#5629BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5629BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5629BA
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5629BA#FFFFFF#000000##FFFFFF
##5629BA1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#2E5371
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5629ba;
/* rgb */ color: rgb(86, 41, 186);
/* oklch */ color: oklch(43.9% 0.208 288.8);
Tailwind
colors: {
  custom: {
    50: '#9069d0',
    500: '#5629ba',
    950: '#000000',
  },
}
SCSS
$custom: #5629ba;
$custom-light: #9069d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5629ba",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 258.621,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43855,
    "c": 0.20791,
    "h": 288.8
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

primary
#5629BA
secondary
#B0CA75
accent
#E741B3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5629BA

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

Preview Lab → · Contrast checker → · Palette generator →

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