#5724BC#5724BC

#5724BC is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.214 H 289.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#5724BC
RGBrgb(87, 36, 188)
HSLhsl(260, 68%, 44%)
HSVhsv(260, 81%, 74%)
CMYKcmyk(53.7%, 80.9%, 0%, 26.3%)
CIE-LABlab(31.62, 56.49, -70.31)
CIE-LCHlch(31.62, 90.19, 308.78°)
OKLaboklab(43.64% 0.0713 -0.2022)
OKLCHoklch(43.64% 0.214 289.4)
XYZxyz(13.6358, 6.9182, 48.1841)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5724BC #89BC24
analogous
#243DBC #5724BC #A324BC
triadic
#5724BC #BC5724 #24BC57
tetradic
#5724BC #BC243D #89BC24 #24BCA3
square
#5724BC #BC243D #89BC24 #24BCA3
split-complementary
#5724BC #BCA324 #3DBC24
monochromatic
#271055 #3F1A89 #5724BC #7642DB #9B76E5

Accessibility & contrast

On white

8.81
#5724BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5724BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5724BC
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5724BC#FFFFFF#000000##FFFFFF
##5724BC1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#2F5171
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5724bc;
/* rgb */ color: rgb(87, 36, 188);
/* oklch */ color: oklch(43.6% 0.214 289.4);
Tailwind
colors: {
  custom: {
    50: '#9266d1',
    500: '#5724bc',
    950: '#000000',
  },
}
SCSS
$custom: #5724bc;
$custom-light: #9266d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5724bc",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 188
  },
  "hsl": {
    "h": 260.132,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43638,
    "c": 0.21444,
    "h": 289.4
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#5724BC
secondary
#ADCC70
accent
#EB3DB0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5724BC

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

Preview Lab → · Contrast checker → · Palette generator →

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