#5724BD#5724BD

#5724BD is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.7% C 0.215 H 289.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#5724BD
RGBrgb(87, 36, 189)
HSLhsl(260, 68%, 44%)
HSVhsv(260, 81%, 74%)
CMYKcmyk(54%, 81%, 0%, 25.9%)
CIE-LABlab(31.72, 56.75, -70.73)
CIE-LCHlch(31.72, 90.69, 308.74°)
OKLaboklab(43.74% 0.071 -0.2035)
OKLCHoklch(43.74% 0.216 289.2)
XYZxyz(13.7440, 6.9615, 48.7537)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5724BD #8ABD24
analogous
#243EBD #5724BD #A424BD
triadic
#5724BD #BD5724 #24BD57
tetradic
#5724BD #BD243E #8ABD24 #24BDA4
square
#5724BD #BD243E #8ABD24 #24BDA4
split-complementary
#5724BD #BDA424 #3EBD24
monochromatic
#281056 #3F1A8A #5724BD #7643DB #9B76E5

Accessibility & contrast

On white

8.78
#5724BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5724BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5724BD
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5724BD#FFFFFF#000000##FFFFFF
##5724BD1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#2E5272
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5724bd;
/* rgb */ color: rgb(87, 36, 189);
/* oklch */ color: oklch(43.7% 0.215 289.2);
Tailwind
colors: {
  custom: {
    50: '#9266d2',
    500: '#5724bd',
    950: '#000000',
  },
}
SCSS
$custom: #5724bd;
$custom-light: #9266d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5724bd",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 260,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43736,
    "c": 0.2155,
    "h": 289.2
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#5724BD
secondary
#AECC70
accent
#EB3DB1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5724BD

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

Preview Lab → · Contrast checker → · Palette generator →

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