#5632BA#5632BA

#5632BA is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.199 H 287.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#5632BA
RGBrgb(86, 50, 186)
HSLhsl(256, 58%, 46%)
HSVhsv(256, 73%, 73%)
CMYKcmyk(53.8%, 73.1%, 0%, 27.1%)
CIE-LABlab(33.57, 49.37, -65.92)
CIE-LCHlch(33.57, 82.36, 306.83°)
OKLaboklab(44.92% 0.0603 -0.1895)
OKLCHoklch(44.92% 0.199 287.6)
XYZxyz(13.8387, 7.8041, 47.2220)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5632BA #96BA32
analogous
#3252BA #5632BA #9A32BA
triadic
#5632BA #BA5632 #32BA56
tetradic
#5632BA #BA3252 #96BA32 #32BA9A
square
#5632BA #BA3252 #96BA32 #32BA9A
split-complementary
#5632BA #BA9A32 #52BA32
monochromatic
#29185A #40258A #5632BA #7857D2 #9F88DF

Accessibility & contrast

On white

8.20
#5632BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5632BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5632BA
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5632BA#FFFFFF#000000##FFFFFF
##5632BA1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#2D5773
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5632ba;
/* rgb */ color: rgb(86, 50, 186);
/* oklch */ color: oklch(44.9% 0.199 287.6);
Tailwind
colors: {
  custom: {
    50: '#906dd0',
    500: '#5632ba',
    950: '#000000',
  },
}
SCSS
$custom: #5632ba;
$custom-light: #906dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5632ba",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 255.882,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44921,
    "c": 0.1989,
    "h": 287.6
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#5632BA
secondary
#B5C97F
accent
#E147B8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5632BA

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

Preview Lab → · Contrast checker → · Palette generator →

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