#5726BD#5726BD

#5726BD is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.214 H 289.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#5726BD
RGBrgb(87, 38, 189)
HSLhsl(259, 67%, 45%)
HSVhsv(259, 80%, 74%)
CMYKcmyk(54%, 79.9%, 0%, 25.9%)
CIE-LABlab(32.00, 55.93, -70.27)
CIE-LCHlch(32.00, 89.81, 308.52°)
OKLaboklab(43.93% 0.0697 -0.2021)
OKLCHoklch(43.93% 0.214 289)
XYZxyz(13.8062, 7.0859, 48.7745)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5726BD #8CBD26
analogous
#2641BD #5726BD #A326BD
triadic
#5726BD #BD5726 #26BD57
tetradic
#5726BD #BD2641 #8CBD26 #26BDA3
square
#5726BD #BD2641 #8CBD26 #26BDA3
split-complementary
#5726BD #BDA326 #41BD26
monochromatic
#281257 #401C8A #5726BD #7646DA #9C79E4

Accessibility & contrast

On white

8.69
#5726BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5726BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5726BD
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5726BD#FFFFFF#000000##FFFFFF
##5726BD1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5726bd;
/* rgb */ color: rgb(87, 38, 189);
/* oklch */ color: oklch(43.9% 0.214 289.0);
Tailwind
colors: {
  custom: {
    50: '#9267d2',
    500: '#5726bd',
    950: '#000000',
  },
}
SCSS
$custom: #5726bd;
$custom-light: #9267d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5726bd",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 259.47,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43932,
    "c": 0.21383,
    "h": 289
  },
  "luminance": 0.07087
}

Semantic roles & 50–950 ramp

primary
#5726BD
secondary
#AFCC73
accent
#E93EB2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5726BD

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

Preview Lab → · Contrast checker → · Palette generator →

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