#5632A4#5632A4

#5632A4 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.173 H 292.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#5632A4
RGBrgb(86, 50, 164)
HSLhsl(259, 53%, 42%)
HSVhsv(259, 70%, 64%)
CMYKcmyk(47.6%, 69.5%, 0%, 35.7%)
CIE-LABlab(31.67, 43.09, -55.90)
CIE-LCHlch(31.67, 70.58, 307.63°)
OKLaboklab(42.98% 0.0647 -0.1602)
OKLCHoklch(42.98% 0.173 292)
XYZxyz(11.6773, 6.9396, 35.8390)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5632A4 #80A432
analogous
#3247A4 #5632A4 #8F32A4
triadic
#5632A4 #A45632 #32A456
tetradic
#5632A4 #A43247 #80A432 #32A48F
square
#5632A4 #A43247 #80A432 #32A48F
split-complementary
#5632A4 #A48F32 #47A432
monochromatic
#251546 #3D2475 #5632A4 #734BC8 #977AD6

Accessibility & contrast

On white

8.79
#5632A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5632A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5632A4
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5632A4#FFFFFF#000000##FFFFFF
##5632A41.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#3E4F67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5632a4;
/* rgb */ color: rgb(86, 50, 164);
/* oklch */ color: oklch(43.0% 0.173 292.0);
Tailwind
colors: {
  custom: {
    50: '#8d6dc0',
    500: '#5632a4',
    950: '#000000',
  },
}
SCSS
$custom: #5632a4;
$custom-light: #8d6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#5632a4",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 258.947,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42981,
    "c": 0.17274,
    "h": 292
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#5632A4
secondary
#A7BF73
accent
#DD4BAF
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5632A4

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

Preview Lab → · Contrast checker → · Palette generator →

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