#5535AA#5535AA

#5535AA is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.8% C 0.176 H 289.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#5535AA
RGBrgb(85, 53, 170)
HSLhsl(256, 52%, 44%)
HSVhsv(256, 69%, 67%)
CMYKcmyk(50%, 68.8%, 0%, 33.3%)
CIE-LABlab(32.66, 43.00, -57.90)
CIE-LCHlch(32.66, 72.12, 306.60°)
OKLaboklab(43.82% 0.0593 -0.1661)
OKLCHoklch(43.82% 0.176 289.7)
XYZxyz(12.2730, 7.3793, 38.8001)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535AA #8AAA35
analogous
#354FAA #5535AA #8F35AA
triadic
#5535AA #AA5535 #35AA55
tetradic
#5535AA #AA354F #8AAA35 #35AA8F
square
#5535AA #AA354F #8AAA35 #35AA8F
split-complementary
#5535AA #AA8F35 #4FAA35
monochromatic
#26184D #3E267B #5535AA #7353C9 #9982D8

Accessibility & contrast

On white

8.48
#5535AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##5535AA#FFFFFF#000000##FFFFFF
##5535AA1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#38526B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5535aa;
/* rgb */ color: rgb(85, 53, 170);
/* oklch */ color: oklch(43.8% 0.176 289.7);
Tailwind
colors: {
  custom: {
    50: '#8d6fc4',
    500: '#5535aa',
    950: '#000000',
  },
}
SCSS
$custom: #5535aa;
$custom-light: #8d6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5535aa",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 256.41,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43817,
    "c": 0.17635,
    "h": 289.7
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5535AA

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

Preview Lab → · Contrast checker → · Palette generator →

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