#5633C2#5633C2

#5633C2 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.207 H 286.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5633C2
RGBrgb(86, 51, 194)
HSLhsl(255, 58%, 48%)
HSVhsv(255, 74%, 76%)
CMYKcmyk(55.7%, 73.7%, 0%, 23.9%)
CIE-LABlab(34.48, 51.15, -69.14)
CIE-LCHlch(34.48, 86.00, 306.49°)
OKLaboklab(45.78% 0.0576 -0.199)
OKLCHoklch(45.78% 0.207 286.1)
XYZxyz(14.7563, 8.2403, 51.8415)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5633C2 #9FC233
analogous
#3358C2 #5633C2 #9D33C2
triadic
#5633C2 #C25633 #33C256
tetradic
#5633C2 #C23358 #9FC233 #33C29D
square
#5633C2 #C23358 #9FC233 #33C29D
split-complementary
#5633C2 #C29D33 #58C233
monochromatic
#2B1A61 #412692 #5633C2 #7B5ED5 #A28EE1

Accessibility & contrast

On white

7.93
#5633C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5633C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5633C2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5633C2#FFFFFF#000000##FFFFFF
##5633C21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#245A78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5633c2;
/* rgb */ color: rgb(86, 51, 194);
/* oklch */ color: oklch(45.8% 0.207 286.1);
Tailwind
colors: {
  custom: {
    50: '#916ed6',
    500: '#5633c2',
    950: '#000000',
  },
}
SCSS
$custom: #5633c2;
$custom-light: #916ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#5633c2",
  "rgb": {
    "r": 86,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 254.685,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45783,
    "c": 0.20716,
    "h": 286.1
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#5633C2
secondary
#BACC85
accent
#E246BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5633C2

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

Preview Lab → · Contrast checker → · Palette generator →

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