#5735AC#5735AC

#5735AC is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.2% C 0.179 H 290.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#5735AC
RGBrgb(87, 53, 172)
HSLhsl(257, 53%, 44%)
HSVhsv(257, 69%, 67%)
CMYKcmyk(49.4%, 69.2%, 0%, 32.5%)
CIE-LABlab(33.03, 43.94, -58.48)
CIE-LCHlch(33.03, 73.15, 306.92°)
OKLaboklab(44.19% 0.0619 -0.1677)
OKLCHoklch(44.19% 0.179 290.2)
XYZxyz(12.6479, 7.5505, 39.8127)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735AC #8AAC35
analogous
#354FAC #5735AC #9335AC
triadic
#5735AC #AC5735 #35AC57
tetradic
#5735AC #AC354F #8AAC35 #35AC93
square
#5735AC #AC354F #8AAC35 #35AC93
split-complementary
#5735AC #AC9335 #4FAC35
monochromatic
#28184E #3F277D #5735AC #7654CA #9B83D9

Accessibility & contrast

On white

8.37
#5735AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5735AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5735AC#FFFFFF#000000##FFFFFF
##5735AC1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#3B536C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5735ac;
/* rgb */ color: rgb(87, 53, 172);
/* oklch */ color: oklch(44.2% 0.179 290.2);
Tailwind
colors: {
  custom: {
    50: '#8e6fc6',
    500: '#5735ac',
    950: '#000000',
  },
}
SCSS
$custom: #5735ac;
$custom-light: #8e6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5735ac",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 257.143,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44185,
    "c": 0.17875,
    "h": 290.2
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#5735AC
secondary
#AEC27B
accent
#DC4CB3
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5735AC

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

Preview Lab → · Contrast checker → · Palette generator →

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