#5633A2#5633A2

#5633A2 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.0% C 0.169 H 292.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#5633A2
RGBrgb(86, 51, 162)
HSLhsl(259, 52%, 42%)
HSVhsv(259, 69%, 64%)
CMYKcmyk(46.9%, 68.5%, 0%, 36.5%)
CIE-LABlab(31.70, 41.98, -54.64)
CIE-LCHlch(31.70, 68.91, 307.54°)
OKLaboklab(42.96% 0.064 -0.1564)
OKLCHoklch(42.96% 0.169 292.3)
XYZxyz(11.5414, 6.9543, 34.9096)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5633A2 #7FA233
analogous
#3348A2 #5633A2 #8E33A2
triadic
#5633A2 #A25633 #33A256
tetradic
#5633A2 #A23348 #7FA233 #33A28E
square
#5633A2 #A23348 #7FA233 #33A28E
split-complementary
#5633A2 #A28E33 #48A233
monochromatic
#251645 #3D2473 #5633A2 #724CC7 #977AD5

Accessibility & contrast

On white

8.78
#5633A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5633A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5633A2
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5633A2#FFFFFF#000000##FFFFFF
##5633A21.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5633a2;
/* rgb */ color: rgb(86, 51, 162);
/* oklch */ color: oklch(43.0% 0.169 292.3);
Tailwind
colors: {
  custom: {
    50: '#8c6dbe',
    500: '#5633a2',
    950: '#000000',
  },
}
SCSS
$custom: #5633a2;
$custom-light: #8c6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5633a2",
  "rgb": {
    "r": 86,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 258.919,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42955,
    "c": 0.16905,
    "h": 292.3
  },
  "luminance": 0.06955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5633A2

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

Preview Lab → · Contrast checker → · Palette generator →

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