#5723B0#5723B0

#5723B0 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.4% C 0.202 H 292.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#5723B0
RGBrgb(87, 35, 176)
HSLhsl(262, 67%, 41%)
HSVhsv(262, 80%, 69%)
CMYKcmyk(50.6%, 80.1%, 0%, 31%)
CIE-LABlab(30.31, 53.75, -65.33)
CIE-LCHlch(30.31, 84.60, 309.44°)
OKLaboklab(42.38% 0.0759 -0.1877)
OKLCHoklch(42.38% 0.202 292)
XYZxyz(12.3658, 6.3624, 41.6424)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5723B0 #7CB023
analogous
#2335B0 #5723B0 #9E23B0
triadic
#5723B0 #B05723 #23B057
tetradic
#5723B0 #B02335 #7CB023 #23B09E
square
#5723B0 #B02335 #7CB023 #23B09E
split-complementary
#5723B0 #B09E23 #35B023
monochromatic
#250F4A #3E197D #5723B0 #7339D8 #976CE2

Accessibility & contrast

On white

9.24
#5723B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5723B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5723B0
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5723B0#FFFFFF#000000##FFFFFF
##5723B01.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#394C6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5723b0;
/* rgb */ color: rgb(87, 35, 176);
/* oklch */ color: oklch(42.4% 0.202 292.0);
Tailwind
colors: {
  custom: {
    50: '#9065c9',
    500: '#5723b0',
    950: '#000000',
  },
}
SCSS
$custom: #5723b0;
$custom-light: #9065c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5723b0",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 262.128,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42378,
    "c": 0.20245,
    "h": 292
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#5723B0
secondary
#A4C867
accent
#EA3EAA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5723B0

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

Preview Lab → · Contrast checker → · Palette generator →

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