#5733BC#5733BC

#5733BC is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.3% C 0.200 H 287.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#5733BC
RGBrgb(87, 51, 188)
HSLhsl(256, 57%, 47%)
HSVhsv(256, 73%, 74%)
CMYKcmyk(53.7%, 72.9%, 0%, 26.3%)
CIE-LABlab(34.03, 49.58, -66.34)
CIE-LCHlch(34.03, 82.82, 306.77°)
OKLaboklab(45.33% 0.0605 -0.1907)
OKLCHoklch(45.33% 0.2 287.6)
XYZxyz(14.1887, 8.0240, 48.3684)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5733BC #98BC33
analogous
#3354BC #5733BC #9B33BC
triadic
#5733BC #BC5733 #33BC57
tetradic
#5733BC #BC3354 #98BC33 #33BC9B
square
#5733BC #BC3354 #98BC33 #33BC9B
split-complementary
#5733BC #BC9B33 #54BC33
monochromatic
#2A195C #41268C #5733BC #7A5AD2 #A08ADF

Accessibility & contrast

On white

8.06
#5733BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5733BC
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5733BC#FFFFFF#000000##FFFFFF
##5733BC1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#2E5874
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5733bc;
/* rgb */ color: rgb(87, 51, 188);
/* oklch */ color: oklch(45.3% 0.200 287.6);
Tailwind
colors: {
  custom: {
    50: '#916ed1',
    500: '#5733bc',
    950: '#000000',
  },
}
SCSS
$custom: #5733bc;
$custom-light: #916ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5733bc",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 255.766,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45326,
    "c": 0.2001,
    "h": 287.6
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#5733BC
secondary
#B6C981
accent
#E147B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5733BC

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

Preview Lab → · Contrast checker → · Palette generator →

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