#5724AF#5724AF

#5724AF is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.4% C 0.200 H 292.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#5724AF
RGBrgb(87, 36, 175)
HSLhsl(262, 66%, 41%)
HSVhsv(262, 79%, 69%)
CMYKcmyk(50.3%, 79.4%, 0%, 31.4%)
CIE-LABlab(30.36, 53.07, -64.65)
CIE-LCHlch(30.36, 83.64, 309.38°)
OKLaboklab(42.38% 0.0756 -0.1857)
OKLCHoklch(42.38% 0.2 292.1)
XYZxyz(12.2970, 6.3827, 41.1332)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5724AF #7CAF24
analogous
#2437AF #5724AF #9D24AF
triadic
#5724AF #AF5724 #24AF57
tetradic
#5724AF #AF2437 #7CAF24 #24AF9D
square
#5724AF #AF2437 #7CAF24 #24AF9D
split-complementary
#5724AF #AF9D24 #37AF24
monochromatic
#250F49 #3E1A7C #5724AF #733AD6 #976DE1

Accessibility & contrast

On white

9.22
#5724AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5724AF
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5724AF#FFFFFF#000000##FFFFFF
##5724AF1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#3A4C6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5724af;
/* rgb */ color: rgb(87, 36, 175);
/* oklch */ color: oklch(42.4% 0.200 292.1);
Tailwind
colors: {
  custom: {
    50: '#9066c8',
    500: '#5724af',
    950: '#000000',
  },
}
SCSS
$custom: #5724af;
$custom-light: #9066c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5724af",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 262.014,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42383,
    "c": 0.20047,
    "h": 292.1
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5724AF

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

Preview Lab → · Contrast checker → · Palette generator →

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