#5723A0#5723A0

#5723A0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.185 H 295.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#5723A0
RGBrgb(87, 35, 160)
HSLhsl(265, 64%, 38%)
HSVhsv(265, 78%, 63%)
CMYKcmyk(45.6%, 78.1%, 0%, 37.3%)
CIE-LABlab(28.81, 49.57, -58.14)
CIE-LCHlch(28.81, 76.40, 310.45°)
OKLaboklab(40.88% 0.0809 -0.1666)
OKLCHoklch(40.88% 0.185 295.9)
XYZxyz(10.8750, 5.7661, 33.7909)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5723A0 #6CA023
analogous
#232DA0 #5723A0 #9523A0
triadic
#5723A0 #A05723 #23A057
tetradic
#5723A0 #A0232D #6CA023 #23A095
square
#5723A0 #A0232D #6CA023 #23A095
split-complementary
#5723A0 #A09523 #2DA023
monochromatic
#200D3C #3C186E #5723A0 #722FD1 #9461DC

Accessibility & contrast

On white

9.75
#5723A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5723A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5723A0
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5723A0#FFFFFF#000000##FFFFFF
##5723A01.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#434561
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5723a0;
/* rgb */ color: rgb(87, 35, 160);
/* oklch */ color: oklch(40.9% 0.185 295.9);
Tailwind
colors: {
  custom: {
    50: '#8e64bd',
    500: '#5723a0',
    950: '#000000',
  },
}
SCSS
$custom: #5723a0;
$custom-light: #8e64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5723a0",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 264.96,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40882,
    "c": 0.18519,
    "h": 295.9
  },
  "luminance": 0.05766
}

Semantic roles & 50–950 ramp

primary
#5723A0
secondary
#98C15D
accent
#E741A2
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5723A0

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

Preview Lab → · Contrast checker → · Palette generator →

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