#5536AA#5536AA

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

Color values

HEX#5536AA
RGBrgb(85, 54, 170)
HSLhsl(256, 52%, 44%)
HSVhsv(256, 68%, 67%)
CMYKcmyk(50%, 68.2%, 0%, 33.3%)
CIE-LABlab(32.86, 42.45, -57.58)
CIE-LCHlch(32.86, 71.53, 306.40°)
OKLaboklab(43.96% 0.0583 -0.1651)
OKLCHoklch(43.96% 0.175 289.5)
XYZxyz(12.3191, 7.4714, 38.8154)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5536AA #8BAA36
analogous
#3651AA #5536AA #8F36AA
triadic
#5536AA #AA5536 #36AA55
tetradic
#5536AA #AA3651 #8BAA36 #36AA8F
square
#5536AA #AA3651 #8BAA36 #36AA8F
split-complementary
#5536AA #AA8F36 #51AA36
monochromatic
#27184D #3E277C #5536AA #7454C9 #9983D8

Accessibility & contrast

On white

8.42
#5536AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5536AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5536AA#FFFFFF#000000##FFFFFF
##5536AA1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#38536B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5536aa;
/* rgb */ color: rgb(85, 54, 170);
/* oklch */ color: oklch(44.0% 0.175 289.5);
Tailwind
colors: {
  custom: {
    50: '#8d6fc4',
    500: '#5536aa',
    950: '#000000',
  },
}
SCSS
$custom: #5536aa;
$custom-light: #8d6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5536aa",
  "rgb": {
    "r": 85,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 256.034,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43962,
    "c": 0.17512,
    "h": 289.5
  },
  "luminance": 0.07472
}

Semantic roles & 50–950 ramp

primary
#5536AA
secondary
#AEC17B
accent
#DB4DB5
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5536AA

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

Preview Lab → · Contrast checker → · Palette generator →

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