#5724B1#5724B1

#5724B1 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.6% C 0.203 H 291.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#5724B1
RGBrgb(87, 36, 177)
HSLhsl(262, 66%, 42%)
HSVhsv(262, 80%, 69%)
CMYKcmyk(50.8%, 79.7%, 0%, 30.6%)
CIE-LABlab(30.55, 53.59, -65.53)
CIE-LCHlch(30.55, 84.66, 309.28°)
OKLaboklab(42.57% 0.0749 -0.1883)
OKLCHoklch(42.57% 0.203 291.7)
XYZxyz(12.4949, 6.4618, 42.1753)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5724B1 #7EB124
analogous
#2438B1 #5724B1 #9E24B1
triadic
#5724B1 #B15724 #24B157
tetradic
#5724B1 #B12438 #7EB124 #24B19E
square
#5724B1 #B12438 #7EB124 #24B19E
split-complementary
#5724B1 #B19E24 #38B124
monochromatic
#250F4B #3E1A7E #5724B1 #743BD7 #986EE1

Accessibility & contrast

On white

9.16
#5724B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5724B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5724B1
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5724B1#FFFFFF#000000##FFFFFF
##5724B11.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#384D6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5724b1;
/* rgb */ color: rgb(87, 36, 177);
/* oklch */ color: oklch(42.6% 0.203 291.7);
Tailwind
colors: {
  custom: {
    50: '#9066c9',
    500: '#5724b1',
    950: '#000000',
  },
}
SCSS
$custom: #5724b1;
$custom-light: #9066c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5724b1",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 261.702,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42573,
    "c": 0.20264,
    "h": 291.7
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5724B1

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

Preview Lab → · Contrast checker → · Palette generator →

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