#5723A7#5723A7

#5723A7 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.193 H 294.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#5723A7
RGBrgb(87, 35, 167)
HSLhsl(264, 65%, 40%)
HSVhsv(264, 79%, 65%)
CMYKcmyk(47.9%, 79%, 0%, 34.5%)
CIE-LABlab(29.46, 51.39, -61.32)
CIE-LCHlch(29.46, 80.01, 309.97°)
OKLaboklab(41.53% 0.0788 -0.1759)
OKLCHoklch(41.53% 0.193 294.1)
XYZxyz(11.5046, 6.0180, 37.1071)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5723A7 #73A723
analogous
#2331A7 #5723A7 #9923A7
triadic
#5723A7 #A75723 #23A757
tetradic
#5723A7 #A72331 #73A723 #23A799
square
#5723A7 #A72331 #73A723 #23A799
split-complementary
#5723A7 #A79923 #31A723
monochromatic
#220E42 #3D1874 #5723A7 #7233D4 #9566DF

Accessibility & contrast

On white

9.53
#5723A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5723A7
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5723A7#FFFFFF#000000##FFFFFF
##5723A71.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#3F4865
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5723a7;
/* rgb */ color: rgb(87, 35, 167);
/* oklch */ color: oklch(41.5% 0.193 294.1);
Tailwind
colors: {
  custom: {
    50: '#8f65c2',
    500: '#5723a7',
    950: '#000000',
  },
}
SCSS
$custom: #5723a7;
$custom-light: #8f65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5723a7",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 263.636,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41528,
    "c": 0.19277,
    "h": 294.1
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#5723A7
secondary
#9DC461
accent
#E83FA6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5723A7

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

Preview Lab → · Contrast checker → · Palette generator →

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