#5632A3#5632A3

#5632A3 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.172 H 292.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#5632A3
RGBrgb(86, 50, 163)
HSLhsl(259, 53%, 42%)
HSVhsv(259, 69%, 64%)
CMYKcmyk(47.2%, 69.3%, 0%, 36.1%)
CIE-LABlab(31.59, 42.81, -55.43)
CIE-LCHlch(31.59, 70.04, 307.68°)
OKLaboklab(42.9% 0.0649 -0.1588)
OKLCHoklch(42.9% 0.172 292.2)
XYZxyz(11.5874, 6.9036, 35.3652)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5632A3 #7FA332
analogous
#3247A3 #5632A3 #8F32A3
triadic
#5632A3 #A35632 #32A356
tetradic
#5632A3 #A33247 #7FA332 #32A38F
square
#5632A3 #A33247 #7FA332 #32A38F
split-complementary
#5632A3 #A38F32 #47A332
monochromatic
#251545 #3D2474 #5632A3 #724BC8 #9779D6

Accessibility & contrast

On white

8.82
#5632A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5632A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5632A3
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5632A3#FFFFFF#000000##FFFFFF
##5632A31.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#3E4E66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5632a3;
/* rgb */ color: rgb(86, 50, 163);
/* oklch */ color: oklch(42.9% 0.172 292.2);
Tailwind
colors: {
  custom: {
    50: '#8d6dbf',
    500: '#5632a3',
    950: '#000000',
  },
}
SCSS
$custom: #5632a3;
$custom-light: #8d6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#5632a3",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 259.115,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42897,
    "c": 0.17152,
    "h": 292.2
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#5632A3
secondary
#A6BF72
accent
#DC4BAE
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5632A3

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

Preview Lab → · Contrast checker → · Palette generator →

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