#5735B5#5735B5

#5735B5 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.190 H 288.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#5735B5
RGBrgb(87, 53, 181)
HSLhsl(256, 55%, 46%)
HSVhsv(256, 71%, 71%)
CMYKcmyk(51.9%, 70.7%, 0%, 29%)
CIE-LABlab(33.79, 46.53, -62.60)
CIE-LCHlch(33.79, 78.00, 306.62°)
OKLaboklab(44.97% 0.0602 -0.1798)
OKLCHoklch(44.97% 0.19 288.5)
XYZxyz(13.5416, 7.9080, 44.5200)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735B5 #93B535
analogous
#3553B5 #5735B5 #9735B5
triadic
#5735B5 #B55735 #35B557
tetradic
#5735B5 #B53553 #93B535 #35B597
square
#5735B5 #B53553 #93B535 #35B597
split-complementary
#5735B5 #B59735 #53B535
monochromatic
#291956 #402786 #5735B5 #7859CE #9F88DC

Accessibility & contrast

On white

8.13
#5735B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5735B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735B5
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735B5#FFFFFF#000000##FFFFFF
##5735B51.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#345671
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5735b5;
/* rgb */ color: rgb(87, 53, 181);
/* oklch */ color: oklch(45.0% 0.190 288.5);
Tailwind
colors: {
  custom: {
    50: '#8f6fcc',
    500: '#5735b5',
    950: '#000000',
  },
}
SCSS
$custom: #5735b5;
$custom-light: #8f6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#5735b5",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 255.938,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44965,
    "c": 0.18961,
    "h": 288.5
  },
  "luminance": 0.07909
}

Semantic roles & 50–950 ramp

primary
#5735B5
secondary
#B3C680
accent
#DE4AB7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5735B5

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

Preview Lab → · Contrast checker → · Palette generator →

#5735B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva