#5723A5#5723A5

#5723A5 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.191 H 294.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#5723A5
RGBrgb(87, 35, 165)
HSLhsl(264, 65%, 39%)
HSVhsv(264, 79%, 65%)
CMYKcmyk(47.3%, 78.8%, 0%, 35.3%)
CIE-LABlab(29.27, 50.87, -60.42)
CIE-LCHlch(29.27, 78.99, 310.10°)
OKLaboklab(41.34% 0.0794 -0.1733)
OKLCHoklch(41.34% 0.191 294.6)
XYZxyz(11.3212, 5.9446, 36.1409)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5723A5 #71A523
analogous
#2330A5 #5723A5 #9823A5
triadic
#5723A5 #A55723 #23A557
tetradic
#5723A5 #A52330 #71A523 #23A598
square
#5723A5 #A52330 #71A523 #23A598
split-complementary
#5723A5 #A59823 #30A523
monochromatic
#220E40 #3C1873 #5723A5 #7232D3 #9564DE

Accessibility & contrast

On white

9.59
#5723A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5723A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5723A5
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5723A5#FFFFFF#000000##FFFFFF
##5723A51.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#404764
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5723a5;
/* rgb */ color: rgb(87, 35, 165);
/* oklch */ color: oklch(41.3% 0.191 294.6);
Tailwind
colors: {
  custom: {
    50: '#8e64c1',
    500: '#5723a5',
    950: '#000000',
  },
}
SCSS
$custom: #5723a5;
$custom-light: #8e64c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5723a5",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 264,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41342,
    "c": 0.19061,
    "h": 294.6
  },
  "luminance": 0.05945
}

Semantic roles & 50–950 ramp

primary
#5723A5
secondary
#9CC460
accent
#E840A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5723A5

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

Preview Lab → · Contrast checker → · Palette generator →

#5723A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva