#5536D2#5536D2

#5536D2 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.223 H 283.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#5536D2
RGBrgb(85, 54, 210)
HSLhsl(252, 63%, 52%)
HSVhsv(252, 74%, 82%)
CMYKcmyk(59.5%, 74.3%, 0%, 17.6%)
CIE-LABlab(36.41, 54.12, -75.29)
CIE-LCHlch(36.41, 92.72, 305.71°)
OKLaboklab(47.57% 0.0502 -0.217)
OKLCHoklch(47.57% 0.223 283)
XYZxyz(16.6947, 9.2216, 61.8605)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5536D2 #B3D236
analogous
#3665D2 #5536D2 #A336D2
triadic
#5536D2 #D25536 #36D255
tetradic
#5536D2 #D23665 #B3D236 #36D2A3
square
#5536D2 #D23665 #B3D236 #36D2A3
split-complementary
#5536D2 #D2A336 #65D236
monochromatic
#2C1A74 #3F25A6 #5536D2 #7F68DD #AA9AE8

Accessibility & contrast

On white

7.38
#5536D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5536D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5536D2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5536D2#FFFFFF#000000##FFFFFF
##5536D21.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD6
Deuteranopia (green-blind)
#0050CF
Tritanopia (blue-blind)
#006282
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5536d2;
/* rgb */ color: rgb(85, 54, 210);
/* oklch */ color: oklch(47.6% 0.223 283.0);
Tailwind
colors: {
  custom: {
    50: '#9371e1',
    500: '#5536d2',
    950: '#000000',
  },
}
SCSS
$custom: #5536d2;
$custom-light: #9371e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5536d2",
  "rgb": {
    "r": 85,
    "g": 54,
    "b": 210
  },
  "hsl": {
    "h": 251.923,
    "s": 63.415,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47572,
    "c": 0.22275,
    "h": 283
  },
  "luminance": 0.09223
}

Semantic roles & 50–950 ramp

primary
#5536D2
secondary
#C7D490
accent
#E641C6
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #5536D2

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

Preview Lab → · Contrast checker → · Palette generator →

#5536D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva