#5535B3#5535B3

#5535B3 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.187 H 287.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#5535B3
RGBrgb(85, 53, 179)
HSLhsl(255, 54%, 45%)
HSVhsv(255, 70%, 70%)
CMYKcmyk(52.5%, 70.4%, 0%, 29.8%)
CIE-LABlab(33.42, 45.62, -62.03)
CIE-LCHlch(33.42, 77.00, 306.33°)
OKLaboklab(44.6% 0.0577 -0.1782)
OKLCHoklch(44.6% 0.187 287.9)
XYZxyz(13.1537, 7.7315, 43.4383)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535B3 #93B335
analogous
#3554B3 #5535B3 #9435B3
triadic
#5535B3 #B35535 #35B355
tetradic
#5535B3 #B33554 #93B335 #35B394
square
#5535B3 #B33554 #93B335 #35B394
split-complementary
#5535B3 #B39435 #54B335
monochromatic
#281955 #3F2784 #5535B3 #7658CD #9C87DB

Accessibility & contrast

On white

8.25
#5535B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5535B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5535B3#FFFFFF#000000##FFFFFF
##5535B31.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#315670
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5535b3;
/* rgb */ color: rgb(85, 53, 179);
/* oklch */ color: oklch(44.6% 0.187 287.9);
Tailwind
colors: {
  custom: {
    50: '#8e6fcb',
    500: '#5535b3',
    950: '#000000',
  },
}
SCSS
$custom: #5535b3;
$custom-light: #8e6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#5535b3",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 255.238,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44598,
    "c": 0.18731,
    "h": 287.9
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#5535B3
secondary
#B3C57F
accent
#DE4AB8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5535B3

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

Preview Lab → · Contrast checker → · Palette generator →

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