#5535A2#5535A2

#5535A2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.1% C 0.166 H 291.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#5535A2
RGBrgb(85, 53, 162)
HSLhsl(258, 51%, 42%)
HSVhsv(258, 67%, 64%)
CMYKcmyk(47.5%, 67.3%, 0%, 36.5%)
CIE-LABlab(32.00, 40.68, -54.16)
CIE-LCHlch(32.00, 67.73, 306.91°)
OKLaboklab(43.14% 0.0605 -0.1551)
OKLCHoklch(43.14% 0.166 291.3)
XYZxyz(11.5392, 7.0857, 34.9351)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535A2 #82A235
analogous
#354BA2 #5535A2 #8C35A2
triadic
#5535A2 #A25535 #35A255
tetradic
#5535A2 #A2354B #82A235 #35A28C
square
#5535A2 #A2354B #82A235 #35A28C
split-complementary
#5535A2 #A28C35 #4BA235
monochromatic
#251746 #3D2674 #5535A2 #724FC5 #977DD4

Accessibility & contrast

On white

8.69
#5535A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##5535A2#FFFFFF#000000##FFFFFF
##5535A21.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#3D5067
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5535a2;
/* rgb */ color: rgb(85, 53, 162);
/* oklch */ color: oklch(43.1% 0.166 291.3);
Tailwind
colors: {
  custom: {
    50: '#8c6ebe',
    500: '#5535a2',
    950: '#000000',
  },
}
SCSS
$custom: #5535a2;
$custom-light: #8c6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#5535a2",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 257.615,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43144,
    "c": 0.16646,
    "h": 291.3
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

primary
#5535A2
secondary
#A8BD75
accent
#DA4EB1
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5535A2

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

Preview Lab → · Contrast checker → · Palette generator →

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