#5535A3#5535A3

#5535A3 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.168 H 291.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#5535A3
RGBrgb(85, 53, 163)
HSLhsl(257, 51%, 42%)
HSVhsv(257, 67%, 64%)
CMYKcmyk(47.9%, 67.5%, 0%, 36.1%)
CIE-LABlab(32.08, 40.97, -54.63)
CIE-LCHlch(32.08, 68.29, 306.87°)
OKLaboklab(43.23% 0.0604 -0.1565)
OKLCHoklch(43.23% 0.168 291.1)
XYZxyz(11.6284, 7.1214, 35.4051)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535A3 #83A335
analogous
#354CA3 #5535A3 #8C35A3
triadic
#5535A3 #A35535 #35A355
tetradic
#5535A3 #A3354C #83A335 #35A38C
square
#5535A3 #A3354C #83A335 #35A38C
split-complementary
#5535A3 #A38C35 #4CA335
monochromatic
#251747 #3D2675 #5535A3 #724FC6 #977ED5

Accessibility & contrast

On white

8.66
#5535A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5535A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5535A3#FFFFFF#000000##FFFFFF
##5535A31.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#3C5067
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5535a3;
/* rgb */ color: rgb(85, 53, 163);
/* oklch */ color: oklch(43.2% 0.168 291.1);
Tailwind
colors: {
  custom: {
    50: '#8c6ebf',
    500: '#5535a3',
    950: '#000000',
  },
}
SCSS
$custom: #5535a3;
$custom-light: #8c6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#5535a3",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 257.455,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43227,
    "c": 0.1677,
    "h": 291.1
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#5535A3
secondary
#A9BE76
accent
#DA4DB1
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5535A3

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

Preview Lab → · Contrast checker → · Palette generator →

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