#5632B7#5632B7

#5632B7 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.195 H 288.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#5632B7
RGBrgb(86, 50, 183)
HSLhsl(256, 57%, 46%)
HSVhsv(256, 73%, 72%)
CMYKcmyk(53%, 72.7%, 0%, 28.2%)
CIE-LABlab(33.30, 48.51, -64.59)
CIE-LCHlch(33.30, 80.78, 306.91°)
OKLaboklab(44.65% 0.061 -0.1856)
OKLCHoklch(44.65% 0.195 288.2)
XYZxyz(13.5231, 7.6779, 45.5600)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5632B7 #93B732
analogous
#3250B7 #5632B7 #9932B7
triadic
#5632B7 #B75632 #32B756
tetradic
#5632B7 #B73250 #93B732 #32B799
square
#5632B7 #B73250 #93B732 #32B799
split-complementary
#5632B7 #B79932 #50B732
monochromatic
#291857 #3F2587 #5632B7 #7756D1 #9D86DE

Accessibility & contrast

On white

8.28
#5632B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5632B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5632B7
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5632B7#FFFFFF#000000##FFFFFF
##5632B71.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#004BB4
Tritanopia (blue-blind)
#305671
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5632b7;
/* rgb */ color: rgb(86, 50, 183);
/* oklch */ color: oklch(44.6% 0.195 288.2);
Tailwind
colors: {
  custom: {
    50: '#8f6dce',
    500: '#5632b7',
    950: '#000000',
  },
}
SCSS
$custom: #5632b7;
$custom-light: #8f6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#5632b7",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 256.241,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44648,
    "c": 0.19539,
    "h": 288.2
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#5632B7
secondary
#B3C77D
accent
#E047B7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5632B7

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

Preview Lab → · Contrast checker → · Palette generator →

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