#5535AC#5535AC

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

Color values

HEX#5535AC
RGBrgb(85, 53, 172)
HSLhsl(256, 53%, 44%)
HSVhsv(256, 69%, 67%)
CMYKcmyk(50.6%, 69.2%, 0%, 32.5%)
CIE-LABlab(32.82, 43.58, -58.83)
CIE-LCHlch(32.82, 73.21, 306.53°)
OKLaboklab(43.99% 0.059 -0.1688)
OKLCHoklch(43.99% 0.179 289.3)
XYZxyz(12.4637, 7.4555, 39.8041)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535AC #8CAC35
analogous
#3551AC #5535AC #9135AC
triadic
#5535AC #AC5535 #35AC55
tetradic
#5535AC #AC3551 #8CAC35 #35AC91
square
#5535AC #AC3551 #8CAC35 #35AC91
split-complementary
#5535AC #AC9135 #51AC35
monochromatic
#27184E #3E277D #5535AC #7454CA #9A83D9

Accessibility & contrast

On white

8.43
#5535AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5535AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5535AC#FFFFFF#000000##FFFFFF
##5535AC1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5535ac;
/* rgb */ color: rgb(85, 53, 172);
/* oklch */ color: oklch(44.0% 0.179 289.3);
Tailwind
colors: {
  custom: {
    50: '#8d6fc6',
    500: '#5535ac',
    950: '#000000',
  },
}
SCSS
$custom: #5535ac;
$custom-light: #8d6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5535ac",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 256.134,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43989,
    "c": 0.17881,
    "h": 289.3
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5535AC

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

Preview Lab → · Contrast checker → · Palette generator →

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