#5723A6#5723A6

#5723A6 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.192 H 294.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#5723A6
RGBrgb(87, 35, 166)
HSLhsl(264, 65%, 39%)
HSVhsv(264, 79%, 65%)
CMYKcmyk(47.6%, 78.9%, 0%, 34.9%)
CIE-LABlab(29.36, 51.13, -60.87)
CIE-LCHlch(29.36, 79.50, 310.03°)
OKLaboklab(41.44% 0.0791 -0.1746)
OKLCHoklch(41.44% 0.192 294.4)
XYZxyz(11.4126, 5.9811, 36.6222)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5723A6 #72A623
analogous
#2330A6 #5723A6 #9923A6
triadic
#5723A6 #A65723 #23A657
tetradic
#5723A6 #A62330 #72A623 #23A699
square
#5723A6 #A62330 #72A623 #23A699
split-complementary
#5723A6 #A69923 #30A623
monochromatic
#220E41 #3D1873 #5723A6 #7232D4 #9565DF

Accessibility & contrast

On white

9.56
#5723A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5723A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5723A6
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5723A6#FFFFFF#000000##FFFFFF
##5723A61.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#3F4864
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5723a6;
/* rgb */ color: rgb(87, 35, 166);
/* oklch */ color: oklch(41.4% 0.192 294.4);
Tailwind
colors: {
  custom: {
    50: '#8f64c2',
    500: '#5723a6',
    950: '#000000',
  },
}
SCSS
$custom: #5723a6;
$custom-light: #8f64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5723a6",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 263.817,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41435,
    "c": 0.19169,
    "h": 294.4
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5723A6

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

Preview Lab → · Contrast checker → · Palette generator →

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