#5632B5#5632B5

#5632B5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.193 H 288.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#5632B5
RGBrgb(86, 50, 181)
HSLhsl(256, 57%, 45%)
HSVhsv(256, 72%, 71%)
CMYKcmyk(52.5%, 72.4%, 0%, 29%)
CIE-LABlab(33.13, 47.94, -63.69)
CIE-LCHlch(33.13, 79.72, 306.97°)
OKLaboklab(44.47% 0.0614 -0.183)
OKLCHoklch(44.47% 0.193 288.5)
XYZxyz(13.3164, 7.5952, 44.4715)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5632B5 #91B532
analogous
#324FB5 #5632B5 #9832B5
triadic
#5632B5 #B55632 #32B556
tetradic
#5632B5 #B5324F #91B532 #32B598
square
#5632B5 #B5324F #91B532 #32B598
split-complementary
#5632B5 #B59832 #4FB532
monochromatic
#281855 #3F2585 #5632B5 #7654D0 #9D84DD

Accessibility & contrast

On white

8.34
#5632B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5632B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5632B5
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5632B5#FFFFFF#000000##FFFFFF
##5632B51.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#325570
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5632b5;
/* rgb */ color: rgb(86, 50, 181);
/* oklch */ color: oklch(44.5% 0.193 288.5);
Tailwind
colors: {
  custom: {
    50: '#8f6dcc',
    500: '#5632b5',
    950: '#000000',
  },
}
SCSS
$custom: #5632b5;
$custom-light: #8f6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#5632b5",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 256.489,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44468,
    "c": 0.19304,
    "h": 288.5
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#5632B5
secondary
#B2C77C
accent
#E048B6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #5632B5

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

Preview Lab → · Contrast checker → · Palette generator →

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