#5632A2#5632A2

#5632A2 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.8% C 0.170 H 292.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#5632A2
RGBrgb(86, 50, 162)
HSLhsl(259, 53%, 42%)
HSVhsv(259, 69%, 64%)
CMYKcmyk(46.9%, 69.1%, 0%, 36.5%)
CIE-LABlab(31.50, 42.53, -54.96)
CIE-LCHlch(31.50, 69.49, 307.73°)
OKLaboklab(42.81% 0.0651 -0.1574)
OKLCHoklch(42.81% 0.17 292.5)
XYZxyz(11.4981, 6.8679, 34.8952)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5632A2 #7EA232
analogous
#3246A2 #5632A2 #8E32A2
triadic
#5632A2 #A25632 #32A256
tetradic
#5632A2 #A23246 #7EA232 #32A28E
square
#5632A2 #A23246 #7EA232 #32A28E
split-complementary
#5632A2 #A28E32 #46A232
monochromatic
#241544 #3D2473 #5632A2 #724AC7 #9779D6

Accessibility & contrast

On white

8.85
#5632A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5632A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5632A2
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5632A2#FFFFFF#000000##FFFFFF
##5632A21.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#3F4E66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5632a2;
/* rgb */ color: rgb(86, 50, 162);
/* oklch */ color: oklch(42.8% 0.170 292.5);
Tailwind
colors: {
  custom: {
    50: '#8c6dbe',
    500: '#5632a2',
    950: '#000000',
  },
}
SCSS
$custom: #5632a2;
$custom-light: #8c6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5632a2",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 259.286,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42812,
    "c": 0.17031,
    "h": 292.5
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#5632A2
secondary
#A6BE72
accent
#DC4CAE
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5632A2

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

Preview Lab → · Contrast checker → · Palette generator →

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