#523AB0#523AB0

#523AB0 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.178 H 286.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#523AB0
RGBrgb(82, 58, 176)
HSLhsl(252, 50%, 46%)
HSVhsv(252, 67%, 69%)
CMYKcmyk(53.4%, 67%, 0%, 31%)
CIE-LABlab(33.89, 41.44, -59.49)
CIE-LCHlch(33.89, 72.50, 304.86°)
OKLaboklab(44.79% 0.0493 -0.1708)
OKLCHoklch(44.79% 0.178 286.1)
XYZxyz(12.8269, 7.9539, 41.9252)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AB0 #98B03A
analogous
#3A5DB0 #523AB0 #8D3AB0
triadic
#523AB0 #B0523A #3AB052
tetradic
#523AB0 #B03A5D #98B03A #3AB08D
square
#523AB0 #B03A5D #98B03A #3AB08D
split-complementary
#523AB0 #B08D3A #5DB03A
monochromatic
#271C54 #3D2B82 #523AB0 #735DCA #9B8BD9

Accessibility & contrast

On white

8.10
#523AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#523AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523AB0
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AB0#FFFFFF#000000##FFFFFF
##523AB01.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#2C5870
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523ab0;
/* rgb */ color: rgb(82, 58, 176);
/* oklch */ color: oklch(44.8% 0.178 286.1);
Tailwind
colors: {
  custom: {
    50: '#8c72c9',
    500: '#523ab0',
    950: '#000000',
  },
}
SCSS
$custom: #523ab0;
$custom-light: #8c72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#523ab0",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 176
  },
  "hsl": {
    "h": 252.203,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44786,
    "c": 0.17783,
    "h": 286.1
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

primary
#523AB0
secondary
#B6C382
accent
#DA4EBD
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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