#5632B2#5632B2

#5632B2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.190 H 289.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5632B2
RGBrgb(86, 50, 178)
HSLhsl(257, 56%, 45%)
HSVhsv(257, 72%, 70%)
CMYKcmyk(51.7%, 71.9%, 0%, 30.2%)
CIE-LABlab(32.86, 47.09, -62.34)
CIE-LCHlch(32.86, 78.12, 307.06°)
OKLaboklab(44.2% 0.062 -0.1791)
OKLCHoklch(44.2% 0.19 289.1)
XYZxyz(13.0119, 7.4734, 42.8677)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5632B2 #8EB232
analogous
#324EB2 #5632B2 #9632B2
triadic
#5632B2 #B25632 #32B256
tetradic
#5632B2 #B2324E #8EB232 #32B296
square
#5632B2 #B2324E #8EB232 #32B296
split-complementary
#5632B2 #B29632 #4EB232
monochromatic
#281752 #3F2582 #5632B2 #7553CF #9C82DC

Accessibility & contrast

On white

8.42
#5632B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5632B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5632B2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5632B2#FFFFFF#000000##FFFFFF
##5632B21.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#34546F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5632b2;
/* rgb */ color: rgb(86, 50, 178);
/* oklch */ color: oklch(44.2% 0.190 289.1);
Tailwind
colors: {
  custom: {
    50: '#8f6dca',
    500: '#5632b2',
    950: '#000000',
  },
}
SCSS
$custom: #5632b2;
$custom-light: #8f6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#5632b2",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 256.875,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.442,
    "c": 0.1895,
    "h": 289.1
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#5632B2
secondary
#B0C57B
accent
#DF48B5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5632B2

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

Preview Lab → · Contrast checker → · Palette generator →

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