#5733AF#5733AF

#5733AF is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.185 H 290.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#5733AF
RGBrgb(87, 51, 175)
HSLhsl(257, 55%, 44%)
HSVhsv(257, 71%, 69%)
CMYKcmyk(50.3%, 70.9%, 0%, 31.4%)
CIE-LABlab(32.89, 45.87, -60.50)
CIE-LCHlch(32.89, 75.92, 307.17°)
OKLaboklab(44.17% 0.0632 -0.1736)
OKLCHoklch(44.17% 0.185 290)
XYZxyz(12.8499, 7.4885, 41.3175)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5733AF #8BAF33
analogous
#334DAF #5733AF #9533AF
triadic
#5733AF #AF5733 #33AF57
tetradic
#5733AF #AF334D #8BAF33 #33AF95
square
#5733AF #AF334D #8BAF33 #33AF95
split-complementary
#5733AF #AF9533 #4DAF33
monochromatic
#281750 #3F2580 #5733AF #7652CD #9C82DB

Accessibility & contrast

On white

8.41
#5733AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5733AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5733AF
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5733AF#FFFFFF#000000##FFFFFF
##5733AF1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#39536D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5733af;
/* rgb */ color: rgb(87, 51, 175);
/* oklch */ color: oklch(44.2% 0.185 290.0);
Tailwind
colors: {
  custom: {
    50: '#8f6ec8',
    500: '#5733af',
    950: '#000000',
  },
}
SCSS
$custom: #5733af;
$custom-light: #8f6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#5733af",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 257.419,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44168,
    "c": 0.18476,
    "h": 290
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#5733AF
secondary
#AEC47A
accent
#DE4AB3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5733AF

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

Preview Lab → · Contrast checker → · Palette generator →

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