#5633B2#5633B2

#5633B2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.188 H 288.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#5633B2
RGBrgb(86, 51, 178)
HSLhsl(257, 55%, 45%)
HSVhsv(257, 71%, 70%)
CMYKcmyk(51.7%, 71.3%, 0%, 30.2%)
CIE-LABlab(33.05, 46.56, -62.03)
CIE-LCHlch(33.05, 77.56, 306.89°)
OKLaboklab(44.33% 0.0612 -0.1782)
OKLCHoklch(44.33% 0.188 288.9)
XYZxyz(13.0551, 7.5598, 42.8822)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5633B2 #8FB233
analogous
#3350B2 #5633B2 #9533B2
triadic
#5633B2 #B25633 #33B256
tetradic
#5633B2 #B23350 #8FB233 #33B295
square
#5633B2 #B23350 #8FB233 #33B295
split-complementary
#5633B2 #B29533 #50B233
monochromatic
#281853 #3F2582 #5633B2 #7654CE #9C84DC

Accessibility & contrast

On white

8.36
#5633B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5633B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5633B2
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5633B2#FFFFFF#000000##FFFFFF
##5633B21.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#34546F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5633b2;
/* rgb */ color: rgb(86, 51, 178);
/* oklch */ color: oklch(44.3% 0.188 288.9);
Tailwind
colors: {
  custom: {
    50: '#8f6eca',
    500: '#5633b2',
    950: '#000000',
  },
}
SCSS
$custom: #5633b2;
$custom-light: #8f6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#5633b2",
  "rgb": {
    "r": 86,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 256.535,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.18836,
    "h": 288.9
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#5633B2
secondary
#B1C57C
accent
#DF49B6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5633B2

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

Preview Lab → · Contrast checker → · Palette generator →

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