#5723AE#5723AE

#5723AE is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.2% C 0.200 H 292.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#5723AE
RGBrgb(87, 35, 174)
HSLhsl(262, 67%, 41%)
HSVhsv(262, 80%, 68%)
CMYKcmyk(50%, 79.9%, 0%, 31.8%)
CIE-LABlab(30.12, 53.22, -64.45)
CIE-LCHlch(30.12, 83.59, 309.55°)
OKLaboklab(42.19% 0.0766 -0.1851)
OKLCHoklch(42.19% 0.2 292.5)
XYZxyz(12.1693, 6.2838, 40.6079)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5723AE #7AAE23
analogous
#2334AE #5723AE #9C23AE
triadic
#5723AE #AE5723 #23AE57
tetradic
#5723AE #AE2334 #7AAE23 #23AE9C
square
#5723AE #AE2334 #7AAE23 #23AE9C
split-complementary
#5723AE #AE9C23 #34AE23
monochromatic
#240F48 #3E197B #5723AE #7337D7 #976AE1

Accessibility & contrast

On white

9.31
#5723AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5723AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5723AE
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5723AE#FFFFFF#000000##FFFFFF
##5723AE1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#3A4B69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5723ae;
/* rgb */ color: rgb(87, 35, 174);
/* oklch */ color: oklch(42.2% 0.200 292.5);
Tailwind
colors: {
  custom: {
    50: '#9065c7',
    500: '#5723ae',
    950: '#000000',
  },
}
SCSS
$custom: #5723ae;
$custom-light: #9065c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5723ae",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 262.446,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42187,
    "c": 0.20031,
    "h": 292.5
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#5723AE
secondary
#A3C766
accent
#E93EA9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5723AE

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

Preview Lab → · Contrast checker → · Palette generator →

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