#5536CD#5536CD

#5536CD is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.1% C 0.217 H 283.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5536CD
RGBrgb(85, 54, 205)
HSLhsl(252, 60%, 51%)
HSVhsv(252, 74%, 80%)
CMYKcmyk(58.5%, 73.7%, 0%, 19.6%)
CIE-LABlab(35.94, 52.67, -73.16)
CIE-LCHlch(35.94, 90.15, 305.75°)
OKLaboklab(47.1% 0.0514 -0.2108)
OKLCHoklch(47.1% 0.217 283.7)
XYZxyz(16.0815, 8.9764, 58.6310)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5536CD #AECD36
analogous
#3662CD #5536CD #A036CD
triadic
#5536CD #CD5536 #36CD55
tetradic
#5536CD #CD3662 #AECD36 #36CDA0
square
#5536CD #CD3662 #AECD36 #36CDA0
split-complementary
#5536CD #CDA036 #62CD36
monochromatic
#2C1B6D #40279E #5536CD #7E67D9 #A898E5

Accessibility & contrast

On white

7.51
#5536CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5536CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5536CD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5536CD#FFFFFF#000000##FFFFFF
##5536CD1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#004FCA
Tritanopia (blue-blind)
#07607F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5536cd;
/* rgb */ color: rgb(85, 54, 205);
/* oklch */ color: oklch(47.1% 0.217 283.7);
Tailwind
colors: {
  custom: {
    50: '#9271de',
    500: '#5536cd',
    950: '#000000',
  },
}
SCSS
$custom: #5536cd;
$custom-light: #9271de;
$custom-dark: #000000;
JSON
{
  "hex": "#5536cd",
  "rgb": {
    "r": 85,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 252.318,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.471,
    "c": 0.21698,
    "h": 283.7
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#5536CD
secondary
#C3D18E
accent
#E344C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5536CD

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

Preview Lab → · Contrast checker → · Palette generator →

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