#5735B2#5735B2

#5735B2 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.7% C 0.186 H 289.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#5735B2
RGBrgb(87, 53, 178)
HSLhsl(256, 54%, 45%)
HSVhsv(256, 70%, 70%)
CMYKcmyk(51.1%, 70.2%, 0%, 30.2%)
CIE-LABlab(33.53, 45.67, -61.24)
CIE-LCHlch(33.53, 76.39, 306.71°)
OKLaboklab(44.7% 0.0608 -0.1758)
OKLCHoklch(44.7% 0.186 289.1)
XYZxyz(13.2371, 7.7862, 42.9163)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735B2 #90B235
analogous
#3551B2 #5735B2 #9535B2
triadic
#5735B2 #B25735 #35B257
tetradic
#5735B2 #B23551 #90B235 #35B295
square
#5735B2 #B23551 #90B235 #35B295
split-complementary
#5735B2 #B29535 #51B235
monochromatic
#291954 #402783 #5735B2 #7757CD #9D86DB

Accessibility & contrast

On white

8.21
#5735B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5735B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5735B2#FFFFFF#000000##FFFFFF
##5735B21.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#36556F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5735b2;
/* rgb */ color: rgb(87, 53, 178);
/* oklch */ color: oklch(44.7% 0.186 289.1);
Tailwind
colors: {
  custom: {
    50: '#8f6fca',
    500: '#5735b2',
    950: '#000000',
  },
}
SCSS
$custom: #5735b2;
$custom-light: #8f6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#5735b2",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 256.32,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44703,
    "c": 0.18601,
    "h": 289.1
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#5735B2
secondary
#B2C57E
accent
#DD4AB5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5735B2

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

Preview Lab → · Contrast checker → · Palette generator →

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