#5735BF#5735BF

#5735BF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.201 H 286.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5735BF
RGBrgb(87, 53, 191)
HSLhsl(255, 57%, 48%)
HSVhsv(255, 72%, 75%)
CMYKcmyk(54.5%, 72.3%, 0%, 25.1%)
CIE-LABlab(34.67, 49.41, -67.06)
CIE-LCHlch(34.67, 83.30, 306.38°)
OKLaboklab(45.86% 0.0582 -0.1929)
OKLCHoklch(45.86% 0.201 286.8)
XYZxyz(14.6047, 8.3333, 50.1190)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735BF #9DBF35
analogous
#3558BF #5735BF #9C35BF
triadic
#5735BF #BF5735 #35BF57
tetradic
#5735BF #BF3558 #9DBF35 #35BF9C
square
#5735BF #BF3558 #9DBF35 #35BF9C
split-complementary
#5735BF #BF9C35 #58BF35
monochromatic
#2B1A5F #41288F #5735BF #7B5FD3 #A38FE0

Accessibility & contrast

On white

7.87
#5735BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5735BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5735BF#FFFFFF#000000##FFFFFF
##5735BF1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#2B5A77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5735bf;
/* rgb */ color: rgb(87, 53, 191);
/* oklch */ color: oklch(45.9% 0.201 286.8);
Tailwind
colors: {
  custom: {
    50: '#9170d3',
    500: '#5735bf',
    950: '#000000',
  },
}
SCSS
$custom: #5735bf;
$custom-light: #9170d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5735bf",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 254.783,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.20147,
    "h": 286.8
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#5735BF
secondary
#B9CA85
accent
#E048BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5735BF

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

Preview Lab → · Contrast checker → · Palette generator →

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