#5633AB#5633AB

#5633AB is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.180 H 290.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#5633AB
RGBrgb(86, 51, 171)
HSLhsl(258, 54%, 44%)
HSVhsv(258, 70%, 67%)
CMYKcmyk(49.7%, 70.2%, 0%, 32.9%)
CIE-LABlab(32.45, 44.55, -58.84)
CIE-LCHlch(32.45, 73.80, 307.14°)
OKLaboklab(43.72% 0.0625 -0.1688)
OKLCHoklch(43.72% 0.18 290.3)
XYZxyz(12.3702, 7.2859, 39.2747)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5633AB #88AB33
analogous
#334CAB #5633AB #9233AB
triadic
#5633AB #AB5633 #33AB56
tetradic
#5633AB #AB334C #88AB33 #33AB92
square
#5633AB #AB334C #88AB33 #33AB92
split-complementary
#5633AB #AB9233 #4CAB33
monochromatic
#27174D #3E257C #5633AB #7450CB #9A7FD9

Accessibility & contrast

On white

8.55
#5633AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5633AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5633AB
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5633AB#FFFFFF#000000##FFFFFF
##5633AB1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#39526B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5633ab;
/* rgb */ color: rgb(86, 51, 171);
/* oklch */ color: oklch(43.7% 0.180 290.3);
Tailwind
colors: {
  custom: {
    50: '#8e6dc5',
    500: '#5633ab',
    950: '#000000',
  },
}
SCSS
$custom: #5633ab;
$custom-light: #8e6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5633ab",
  "rgb": {
    "r": 86,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 257.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4372,
    "c": 0.17998,
    "h": 290.3
  },
  "luminance": 0.07286
}

Semantic roles & 50–950 ramp

primary
#5633AB
secondary
#ACC278
accent
#DD4AB3
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5633AB

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

Preview Lab → · Contrast checker → · Palette generator →

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