#523AB3#523AB3

#523AB3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.182 H 285.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#523AB3
RGBrgb(82, 58, 179)
HSLhsl(252, 51%, 46%)
HSVhsv(252, 68%, 70%)
CMYKcmyk(54.2%, 67.6%, 0%, 29.8%)
CIE-LABlab(34.14, 42.35, -60.87)
CIE-LCHlch(34.14, 74.15, 304.83°)
OKLaboklab(45.04% 0.0489 -0.1749)
OKLCHoklch(45.04% 0.182 285.6)
XYZxyz(13.1270, 8.0739, 43.5058)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AB3 #9BB33A
analogous
#3A5FB3 #523AB3 #8F3AB3
triadic
#523AB3 #B3523A #3AB352
tetradic
#523AB3 #B33A5F #9BB33A #3AB38F
square
#523AB3 #B33A5F #9BB33A #3AB38F
split-complementary
#523AB3 #B38F3A #5FB33A
monochromatic
#281C57 #3D2B85 #523AB3 #745FCB #9D8DDA

Accessibility & contrast

On white

8.03
#523AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#523AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523AB3
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AB3#FFFFFF#000000##FFFFFF
##523AB31.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#295971
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523ab3;
/* rgb */ color: rgb(82, 58, 179);
/* oklch */ color: oklch(45.0% 0.182 285.6);
Tailwind
colors: {
  custom: {
    50: '#8c72cb',
    500: '#523ab3',
    950: '#000000',
  },
}
SCSS
$custom: #523ab3;
$custom-light: #8c72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#523ab3",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 251.901,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45044,
    "c": 0.18159,
    "h": 285.6
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#523AB3
secondary
#B8C584
accent
#DB4DBF
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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