#5723BD#5723BD

#5723BD is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.216 H 289.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#5723BD
RGBrgb(87, 35, 189)
HSLhsl(260, 69%, 44%)
HSVhsv(260, 81%, 74%)
CMYKcmyk(54%, 81.5%, 0%, 25.9%)
CIE-LABlab(31.58, 57.15, -70.96)
CIE-LCHlch(31.58, 91.11, 308.85°)
OKLaboklab(43.64% 0.0716 -0.2041)
OKLCHoklch(43.64% 0.216 289.3)
XYZxyz(13.7141, 6.9018, 48.7438)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5723BD #89BD23
analogous
#233CBD #5723BD #A423BD
triadic
#5723BD #BD5723 #23BD57
tetradic
#5723BD #BD233C #89BD23 #23BDA4
square
#5723BD #BD233C #89BD23 #23BDA4
split-complementary
#5723BD #BDA423 #3CBD23
monochromatic
#271056 #3F1989 #5723BD #7641DC #9B75E5

Accessibility & contrast

On white

8.82
#5723BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5723BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5723BD
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5723BD#FFFFFF#000000##FFFFFF
##5723BD1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#2E5172
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5723bd;
/* rgb */ color: rgb(87, 35, 189);
/* oklch */ color: oklch(43.6% 0.216 289.3);
Tailwind
colors: {
  custom: {
    50: '#9266d2',
    500: '#5723bd',
    950: '#000000',
  },
}
SCSS
$custom: #5723bd;
$custom-light: #9266d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5723bd",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 260.26,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43642,
    "c": 0.21632,
    "h": 289.3
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#5723BD
secondary
#ADCD6F
accent
#EC3CB0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5723BD

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

Preview Lab → · Contrast checker → · Palette generator →

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