#5633CC#5633CC

#5633CC is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.219 H 284.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5633CC
RGBrgb(86, 51, 204)
HSLhsl(254, 60%, 50%)
HSVhsv(254, 75%, 80%)
CMYKcmyk(57.8%, 75%, 0%, 20%)
CIE-LABlab(35.41, 54.01, -73.45)
CIE-LCHlch(35.41, 91.17, 306.33°)
OKLaboklab(46.72% 0.0552 -0.2116)
OKLCHoklch(46.72% 0.219 284.6)
XYZxyz(15.9173, 8.7047, 57.9565)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5633CC #A9CC33
analogous
#335DCC #5633CC #A233CC
triadic
#5633CC #CC5633 #33CC56
tetradic
#5633CC #CC335D #A9CC33 #33CCA2
square
#5633CC #CC335D #A9CC33 #33CCA2
split-complementary
#5633CC #CCA233 #5DCC33
monochromatic
#2D1B6A #41279B #5633CC #7F64D8 #A795E4

Accessibility & contrast

On white

7.66
#5633CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5633CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5633CC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5633CC#FFFFFF#000000##FFFFFF
##5633CC1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004EC9
Tritanopia (blue-blind)
#135E7D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5633cc;
/* rgb */ color: rgb(86, 51, 204);
/* oklch */ color: oklch(46.7% 0.219 284.6);
Tailwind
colors: {
  custom: {
    50: '#936fdd',
    500: '#5633cc',
    950: '#000000',
  },
}
SCSS
$custom: #5633cc;
$custom-light: #936fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5633cc",
  "rgb": {
    "r": 86,
    "g": 51,
    "b": 204
  },
  "hsl": {
    "h": 253.725,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.46721,
    "c": 0.21866,
    "h": 284.6
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#5633CC
secondary
#C0D08B
accent
#E345BF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5633CC

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

Preview Lab → · Contrast checker → · Palette generator →

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