#5735AA#5735AA

#5735AA is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.176 H 290.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5735AA
RGBrgb(87, 53, 170)
HSLhsl(257, 52%, 44%)
HSVhsv(257, 69%, 67%)
CMYKcmyk(48.8%, 68.8%, 0%, 33.3%)
CIE-LABlab(32.86, 43.36, -57.56)
CIE-LCHlch(32.86, 72.06, 306.99°)
OKLaboklab(44.02% 0.0622 -0.165)
OKLCHoklch(44.02% 0.176 290.7)
XYZxyz(12.4572, 7.4742, 38.8087)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735AA #88AA35
analogous
#354DAA #5735AA #9135AA
triadic
#5735AA #AA5735 #35AA57
tetradic
#5735AA #AA354D #88AA35 #35AA91
square
#5735AA #AA354D #88AA35 #35AA91
split-complementary
#5735AA #AA9135 #4DAA35
monochromatic
#27184D #3F267B #5735AA #7553C9 #9B82D8

Accessibility & contrast

On white

8.42
#5735AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5735AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5735AA#FFFFFF#000000##FFFFFF
##5735AA1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#3C526B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5735aa;
/* rgb */ color: rgb(87, 53, 170);
/* oklch */ color: oklch(44.0% 0.176 290.7);
Tailwind
colors: {
  custom: {
    50: '#8e6fc4',
    500: '#5735aa',
    950: '#000000',
  },
}
SCSS
$custom: #5735aa;
$custom-light: #8e6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5735aa",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 257.436,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44015,
    "c": 0.17632,
    "h": 290.7
  },
  "luminance": 0.07475
}

Semantic roles & 50–950 ramp

primary
#5735AA
secondary
#ACC17A
accent
#DC4CB2
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5735AA

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

Preview Lab → · Contrast checker → · Palette generator →

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