#5536AB#5536AB

#5536AB is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.176 H 289.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#5536AB
RGBrgb(85, 54, 171)
HSLhsl(256, 52%, 44%)
HSVhsv(256, 68%, 67%)
CMYKcmyk(50.3%, 68.4%, 0%, 32.9%)
CIE-LABlab(32.94, 42.74, -58.04)
CIE-LCHlch(32.94, 72.08, 306.37°)
OKLaboklab(44.05% 0.0582 -0.1665)
OKLCHoklch(44.05% 0.176 289.3)
XYZxyz(12.4140, 7.5094, 39.3155)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5536AB #8CAB36
analogous
#3652AB #5536AB #9036AB
triadic
#5536AB #AB5536 #36AB55
tetradic
#5536AB #AB3652 #8CAB36 #36AB90
square
#5536AB #AB3652 #8CAB36 #36AB90
split-complementary
#5536AB #AB9036 #52AB36
monochromatic
#27194E #3E277C #5536AB #7455C9 #9A83D8

Accessibility & contrast

On white

8.39
#5536AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5536AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5536AB
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5536AB#FFFFFF#000000##FFFFFF
##5536AB1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#37536C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5536ab;
/* rgb */ color: rgb(85, 54, 171);
/* oklch */ color: oklch(44.0% 0.176 289.3);
Tailwind
colors: {
  custom: {
    50: '#8d6fc5',
    500: '#5536ab',
    950: '#000000',
  },
}
SCSS
$custom: #5536ab;
$custom-light: #8d6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5536ab",
  "rgb": {
    "r": 85,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 255.897,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44047,
    "c": 0.17635,
    "h": 289.3
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#5536AB
secondary
#AFC27B
accent
#DB4CB6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5536AB

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

Preview Lab → · Contrast checker → · Palette generator →

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