#5536AC#5536AC

#5536AC is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.178 H 289.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#5536AC
RGBrgb(85, 54, 172)
HSLhsl(256, 52%, 44%)
HSVhsv(256, 69%, 67%)
CMYKcmyk(50.6%, 68.6%, 0%, 32.5%)
CIE-LABlab(33.02, 43.03, -58.50)
CIE-LCHlch(33.02, 72.62, 306.34°)
OKLaboklab(44.13% 0.058 -0.1678)
OKLCHoklch(44.13% 0.178 289.1)
XYZxyz(12.5097, 7.5476, 39.8194)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5536AC #8DAC36
analogous
#3652AC #5536AC #9036AC
triadic
#5536AC #AC5536 #36AC55
tetradic
#5536AC #AC3652 #8DAC36 #36AC90
square
#5536AC #AC3652 #8DAC36 #36AC90
split-complementary
#5536AC #AC9036 #52AC36
monochromatic
#27194F #3E277D #5536AC #7455CA #9A84D8

Accessibility & contrast

On white

8.37
#5536AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5536AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5536AC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5536AC#FFFFFF#000000##FFFFFF
##5536AC1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#36546C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5536ac;
/* rgb */ color: rgb(85, 54, 172);
/* oklch */ color: oklch(44.1% 0.178 289.1);
Tailwind
colors: {
  custom: {
    50: '#8d6fc6',
    500: '#5536ac',
    950: '#000000',
  },
}
SCSS
$custom: #5536ac;
$custom-light: #8d6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5536ac",
  "rgb": {
    "r": 85,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 255.763,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44132,
    "c": 0.17759,
    "h": 289.1
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#5536AC
secondary
#B0C27C
accent
#DC4CB6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5536AC

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

Preview Lab → · Contrast checker → · Palette generator →

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