#5733BE#5733BE

#5733BE is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.202 H 287.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5733BE
RGBrgb(87, 51, 190)
HSLhsl(256, 58%, 47%)
HSVhsv(256, 73%, 75%)
CMYKcmyk(54.2%, 73.2%, 0%, 25.5%)
CIE-LABlab(34.21, 50.15, -67.22)
CIE-LCHlch(34.21, 83.87, 306.72°)
OKLaboklab(45.51% 0.06 -0.1933)
OKLCHoklch(45.51% 0.202 287.2)
XYZxyz(14.4058, 8.1108, 49.5117)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5733BE #9ABE33
analogous
#3354BE #5733BE #9D33BE
triadic
#5733BE #BE5733 #33BE57
tetradic
#5733BE #BE3354 #9ABE33 #33BE9D
square
#5733BE #BE3354 #9ABE33 #33BE9D
split-complementary
#5733BE #BE9D33 #54BE33
monochromatic
#2B195E #41268E #5733BE #7A5BD3 #A18BE0

Accessibility & contrast

On white

8.01
#5733BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5733BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5733BE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5733BE#FFFFFF#000000##FFFFFF
##5733BE1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#2C5976
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5733be;
/* rgb */ color: rgb(87, 51, 190);
/* oklch */ color: oklch(45.5% 0.202 287.2);
Tailwind
colors: {
  custom: {
    50: '#916ed3',
    500: '#5733be',
    950: '#000000',
  },
}
SCSS
$custom: #5733be;
$custom-light: #916ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5733be",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 190
  },
  "hsl": {
    "h": 255.54,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45508,
    "c": 0.20244,
    "h": 287.2
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5733BE

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

Preview Lab → · Contrast checker → · Palette generator →

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