#5733BD#5733BD

#5733BD is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.4% C 0.201 H 287.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5733BD
RGBrgb(87, 51, 189)
HSLhsl(256, 58%, 47%)
HSVhsv(256, 73%, 74%)
CMYKcmyk(54%, 73%, 0%, 25.9%)
CIE-LABlab(34.12, 49.87, -66.78)
CIE-LCHlch(34.12, 83.35, 306.75°)
OKLaboklab(45.42% 0.0602 -0.192)
OKLCHoklch(45.42% 0.201 287.4)
XYZxyz(14.2969, 8.0673, 48.9380)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5733BD #99BD33
analogous
#3354BD #5733BD #9C33BD
triadic
#5733BD #BD5733 #33BD57
tetradic
#5733BD #BD3354 #99BD33 #33BD9C
square
#5733BD #BD3354 #99BD33 #33BD9C
split-complementary
#5733BD #BD9C33 #54BD33
monochromatic
#2B195D #41268D #5733BD #7A5BD3 #A18BE0

Accessibility & contrast

On white

8.03
#5733BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5733BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5733BD
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5733BD#FFFFFF#000000##FFFFFF
##5733BD1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#2D5875
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5733bd;
/* rgb */ color: rgb(87, 51, 189);
/* oklch */ color: oklch(45.4% 0.201 287.4);
Tailwind
colors: {
  custom: {
    50: '#916ed2',
    500: '#5733bd',
    950: '#000000',
  },
}
SCSS
$custom: #5733bd;
$custom-light: #916ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#5733bd",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 189
  },
  "hsl": {
    "h": 255.652,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45417,
    "c": 0.20127,
    "h": 287.4
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5733BD

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

Preview Lab → · Contrast checker → · Palette generator →

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