#5535AB#5535AB

#5535AB is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.178 H 289.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#5535AB
RGBrgb(85, 53, 171)
HSLhsl(256, 53%, 44%)
HSVhsv(256, 69%, 67%)
CMYKcmyk(50.3%, 69%, 0%, 32.9%)
CIE-LABlab(32.74, 43.29, -58.37)
CIE-LCHlch(32.74, 72.67, 306.56°)
OKLaboklab(43.9% 0.0591 -0.1674)
OKLCHoklch(43.9% 0.178 289.5)
XYZxyz(12.3680, 7.4172, 39.3002)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535AB #8BAB35
analogous
#3550AB #5535AB #9035AB
triadic
#5535AB #AB5535 #35AB55
tetradic
#5535AB #AB3550 #8BAB35 #35AB90
square
#5535AB #AB3550 #8BAB35 #35AB90
split-complementary
#5535AB #AB9035 #50AB35
monochromatic
#27184E #3E277C #5535AB #7453CA #9982D8

Accessibility & contrast

On white

8.46
#5535AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5535AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535AB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535AB#FFFFFF#000000##FFFFFF
##5535AB1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#37536C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5535ab;
/* rgb */ color: rgb(85, 53, 171);
/* oklch */ color: oklch(43.9% 0.178 289.5);
Tailwind
colors: {
  custom: {
    50: '#8d6fc5',
    500: '#5535ab',
    950: '#000000',
  },
}
SCSS
$custom: #5535ab;
$custom-light: #8d6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5535ab",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 256.271,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.17758,
    "h": 289.5
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#5535AB
secondary
#AEC27A
accent
#DC4CB5
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5535AB

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

Preview Lab → · Contrast checker → · Palette generator →

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