#5724B0#5724B0

#5724B0 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.5% C 0.202 H 291.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#5724B0
RGBrgb(87, 36, 176)
HSLhsl(262, 66%, 42%)
HSVhsv(262, 80%, 69%)
CMYKcmyk(50.6%, 79.5%, 0%, 31%)
CIE-LABlab(30.45, 53.33, -65.09)
CIE-LCHlch(30.45, 84.15, 309.33°)
OKLaboklab(42.48% 0.0752 -0.187)
OKLCHoklch(42.48% 0.202 291.9)
XYZxyz(12.3956, 6.4221, 41.6523)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5724B0 #7DB024
analogous
#2437B0 #5724B0 #9D24B0
triadic
#5724B0 #B05724 #24B057
tetradic
#5724B0 #B02437 #7DB024 #24B09D
square
#5724B0 #B02437 #7DB024 #24B09D
split-complementary
#5724B0 #B09D24 #37B024
monochromatic
#250F4A #3E1A7D #5724B0 #733AD7 #976DE1

Accessibility & contrast

On white

9.19
#5724B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5724B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5724B0
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5724B0#FFFFFF#000000##FFFFFF
##5724B01.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#394C6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5724b0;
/* rgb */ color: rgb(87, 36, 176);
/* oklch */ color: oklch(42.5% 0.202 291.9);
Tailwind
colors: {
  custom: {
    50: '#9066c9',
    500: '#5724b0',
    950: '#000000',
  },
}
SCSS
$custom: #5724b0;
$custom-light: #9066c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5724b0",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 261.857,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42478,
    "c": 0.20156,
    "h": 291.9
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#5724B0
secondary
#A5C868
accent
#E93FAB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5724B0

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

Preview Lab → · Contrast checker → · Palette generator →

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