#5723A8#5723A8

#5723A8 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.194 H 293.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#5723A8
RGBrgb(87, 35, 168)
HSLhsl(263, 66%, 40%)
HSVhsv(263, 79%, 66%)
CMYKcmyk(48.2%, 79.2%, 0%, 34.1%)
CIE-LABlab(29.55, 51.65, -61.77)
CIE-LCHlch(29.55, 80.53, 309.90°)
OKLaboklab(41.62% 0.0785 -0.1773)
OKLCHoklch(41.62% 0.194 293.9)
XYZxyz(11.5974, 6.0551, 37.5959)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5723A8 #74A823
analogous
#2331A8 #5723A8 #9A23A8
triadic
#5723A8 #A85723 #23A857
tetradic
#5723A8 #A82331 #74A823 #23A89A
square
#5723A8 #A82331 #74A823 #23A89A
split-complementary
#5723A8 #A89A23 #31A823
monochromatic
#230E43 #3D1875 #5723A8 #7334D5 #9666DF

Accessibility & contrast

On white

9.50
#5723A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5723A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5723A8
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5723A8#FFFFFF#000000##FFFFFF
##5723A81.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#3E4965
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5723a8;
/* rgb */ color: rgb(87, 35, 168);
/* oklch */ color: oklch(41.6% 0.194 293.9);
Tailwind
colors: {
  custom: {
    50: '#8f65c3',
    500: '#5723a8',
    950: '#000000',
  },
}
SCSS
$custom: #5723a8;
$custom-light: #8f65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5723a8",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 263.459,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41621,
    "c": 0.19385,
    "h": 293.9
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5723A8

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

Preview Lab → · Contrast checker → · Palette generator →

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