#5733BF#5733BF

#5733BF is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.6% C 0.204 H 287.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5733BF
RGBrgb(87, 51, 191)
HSLhsl(255, 58%, 47%)
HSVhsv(255, 73%, 75%)
CMYKcmyk(54.5%, 73.3%, 0%, 25.1%)
CIE-LABlab(34.30, 50.44, -67.66)
CIE-LCHlch(34.30, 84.39, 306.70°)
OKLaboklab(45.6% 0.0598 -0.1946)
OKLCHoklch(45.6% 0.204 287.1)
XYZxyz(14.5155, 8.1547, 50.0893)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5733BF #9BBF33
analogous
#3355BF #5733BF #9D33BF
triadic
#5733BF #BF5733 #33BF57
tetradic
#5733BF #BF3355 #9BBF33 #33BF9D
square
#5733BF #BF3355 #9BBF33 #33BF9D
split-complementary
#5733BF #BF9D33 #55BF33
monochromatic
#2B195E #41268F #5733BF #7B5CD3 #A28CE0

Accessibility & contrast

On white

7.98
#5733BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5733BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5733BF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5733BF#FFFFFF#000000##FFFFFF
##5733BF1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#2B5976
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5733bf;
/* rgb */ color: rgb(87, 51, 191);
/* oklch */ color: oklch(45.6% 0.204 287.1);
Tailwind
colors: {
  custom: {
    50: '#916ed3',
    500: '#5733bf',
    950: '#000000',
  },
}
SCSS
$custom: #5733bf;
$custom-light: #916ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5733bf",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 191
  },
  "hsl": {
    "h": 255.429,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.456,
    "c": 0.2036,
    "h": 287.1
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#5733BF
secondary
#B8CB83
accent
#E147B9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5733BF

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

Preview Lab → · Contrast checker → · Palette generator →

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