#5733AC#5733AC

#5733AC is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.181 H 290.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5733AC
RGBrgb(87, 51, 172)
HSLhsl(258, 54%, 44%)
HSVhsv(258, 70%, 67%)
CMYKcmyk(49.4%, 70.3%, 0%, 32.5%)
CIE-LABlab(32.64, 45.01, -59.12)
CIE-LCHlch(32.64, 74.31, 307.29°)
OKLaboklab(43.91% 0.0638 -0.1696)
OKLCHoklch(43.91% 0.181 290.6)
XYZxyz(12.5586, 7.3720, 39.7829)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5733AC #88AC33
analogous
#334BAC #5733AC #9333AC
triadic
#5733AC #AC5733 #33AC57
tetradic
#5733AC #AC334B #88AC33 #33AC93
square
#5733AC #AC334B #88AC33 #33AC93
split-complementary
#5733AC #AC9333 #4BAC33
monochromatic
#27174E #3F257D #5733AC #7551CB #9B80D9

Accessibility & contrast

On white

8.49
#5733AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5733AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5733AC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5733AC#FFFFFF#000000##FFFFFF
##5733AC1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#3B526C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5733ac;
/* rgb */ color: rgb(87, 51, 172);
/* oklch */ color: oklch(43.9% 0.181 290.6);
Tailwind
colors: {
  custom: {
    50: '#8e6ec6',
    500: '#5733ac',
    950: '#000000',
  },
}
SCSS
$custom: #5733ac;
$custom-light: #8e6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#5733ac",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 257.851,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43907,
    "c": 0.18117,
    "h": 290.6
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#5733AC
secondary
#ACC278
accent
#DE4AB2
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5733AC

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

Preview Lab → · Contrast checker → · Palette generator →

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