#5633BA#5633BA

#5633BA is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.198 H 287.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#5633BA
RGBrgb(86, 51, 186)
HSLhsl(256, 57%, 46%)
HSVhsv(256, 73%, 73%)
CMYKcmyk(53.8%, 72.6%, 0%, 27.1%)
CIE-LABlab(33.75, 48.86, -65.62)
CIE-LCHlch(33.75, 81.81, 306.67°)
OKLaboklab(45.05% 0.0595 -0.1887)
OKLCHoklch(45.05% 0.198 287.5)
XYZxyz(13.8819, 7.8905, 47.2364)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5633BA #97BA33
analogous
#3353BA #5633BA #9A33BA
triadic
#5633BA #BA5633 #33BA56
tetradic
#5633BA #BA3353 #97BA33 #33BA9A
square
#5633BA #BA3353 #97BA33 #33BA9A
split-complementary
#5633BA #BA9A33 #53BA33
monochromatic
#2A195A #40268A #5633BA #7859D1 #9F89DF

Accessibility & contrast

On white

8.15
#5633BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5633BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5633BA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5633BA#FFFFFF#000000##FFFFFF
##5633BA1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#2D5773
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5633ba;
/* rgb */ color: rgb(86, 51, 186);
/* oklch */ color: oklch(45.1% 0.198 287.5);
Tailwind
colors: {
  custom: {
    50: '#906ed0',
    500: '#5633ba',
    950: '#000000',
  },
}
SCSS
$custom: #5633ba;
$custom-light: #906ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5633ba",
  "rgb": {
    "r": 86,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 255.556,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4505,
    "c": 0.19782,
    "h": 287.5
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#5633BA
secondary
#B6C980
accent
#E048B9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5633BA

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

Preview Lab → · Contrast checker → · Palette generator →

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