#523EB5#523EB5

#523EB5 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.8% C 0.179 H 284.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#523EB5
RGBrgb(82, 62, 181)
HSLhsl(250, 49%, 48%)
HSVhsv(250, 66%, 71%)
CMYKcmyk(54.7%, 65.7%, 0%, 29%)
CIE-LABlab(35.15, 40.65, -60.39)
CIE-LCHlch(35.15, 72.80, 303.95°)
OKLaboklab(45.83% 0.0449 -0.1735)
OKLCHoklch(45.83% 0.179 284.5)
XYZxyz(13.5403, 8.5745, 44.6487)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EB5 #A1B53E
analogous
#3E66B5 #523EB5 #8D3EB5
triadic
#523EB5 #B5523E #3EB552
tetradic
#523EB5 #B53E66 #A1B53E #3EB58D
square
#523EB5 #B53E66 #A1B53E #3EB58D
split-complementary
#523EB5 #B58D3E #66B53E
monochromatic
#291F5A #3D2E87 #523EB5 #7766CA #9F93DA

Accessibility & contrast

On white

7.73
#523EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#523EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523EB5
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EB5#FFFFFF#000000##FFFFFF
##523EB51.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#265C74
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523eb5;
/* rgb */ color: rgb(82, 62, 181);
/* oklch */ color: oklch(45.8% 0.179 284.5);
Tailwind
colors: {
  custom: {
    50: '#8c75cc',
    500: '#523eb5',
    950: '#000000',
  },
}
SCSS
$custom: #523eb5;
$custom-light: #8c75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#523eb5",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 250.084,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45828,
    "c": 0.17921,
    "h": 284.5
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#523EB5
secondary
#BBC589
accent
#D94FC1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523EB5

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

Preview Lab → · Contrast checker → · Palette generator →

#523EB5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva