#5723BC#5723BC

#5723BC is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.215 H 289.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#5723BC
RGBrgb(87, 35, 188)
HSLhsl(260, 69%, 44%)
HSVhsv(260, 81%, 74%)
CMYKcmyk(53.7%, 81.4%, 0%, 26.3%)
CIE-LABlab(31.48, 56.89, -70.53)
CIE-LCHlch(31.48, 90.62, 308.89°)
OKLaboklab(43.54% 0.0719 -0.2029)
OKLCHoklch(43.54% 0.215 289.5)
XYZxyz(13.6060, 6.8585, 48.1741)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5723BC #88BC23
analogous
#233BBC #5723BC #A323BC
triadic
#5723BC #BC5723 #23BC57
tetradic
#5723BC #BC233B #88BC23 #23BCA3
square
#5723BC #BC233B #88BC23 #23BCA3
split-complementary
#5723BC #BCA323 #3BBC23
monochromatic
#271055 #3F1988 #5723BC #7541DC #9B74E5

Accessibility & contrast

On white

8.85
#5723BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5723BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5723BC
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5723BC#FFFFFF#000000##FFFFFF
##5723BC1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#2F5171
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5723bc;
/* rgb */ color: rgb(87, 35, 188);
/* oklch */ color: oklch(43.5% 0.215 289.5);
Tailwind
colors: {
  custom: {
    50: '#9266d1',
    500: '#5723bc',
    950: '#000000',
  },
}
SCSS
$custom: #5723bc;
$custom-light: #9266d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5723bc",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 260.392,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43543,
    "c": 0.21526,
    "h": 289.5
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#5723BC
secondary
#ACCC6F
accent
#EB3CB0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5723BC

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

Preview Lab → · Contrast checker → · Palette generator →

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