#523AAE#523AAE

#523AAE is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.6% C 0.175 H 286.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#523AAE
RGBrgb(82, 58, 174)
HSLhsl(252, 50%, 45%)
HSVhsv(252, 67%, 68%)
CMYKcmyk(52.9%, 66.7%, 0%, 31.8%)
CIE-LABlab(33.72, 40.83, -58.57)
CIE-LCHlch(33.72, 71.40, 304.88°)
OKLaboklab(44.62% 0.0496 -0.1681)
OKLCHoklch(44.62% 0.175 286.4)
XYZxyz(12.6304, 7.8753, 40.8908)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AAE #96AE3A
analogous
#3A5CAE #523AAE #8C3AAE
triadic
#523AAE #AE523A #3AAE52
tetradic
#523AAE #AE3A5C #96AE3A #3AAE8C
square
#523AAE #AE3A5C #96AE3A #3AAE8C
split-complementary
#523AAE #AE8C3A #5CAE3A
monochromatic
#271B52 #3C2B80 #523AAE #735CC9 #9A8AD8

Accessibility & contrast

On white

8.15
#523AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#523AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523AAE
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AAE#FFFFFF#000000##FFFFFF
##523AAE1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#2E576F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #523aae;
/* rgb */ color: rgb(82, 58, 174);
/* oklch */ color: oklch(44.6% 0.175 286.4);
Tailwind
colors: {
  custom: {
    50: '#8b72c7',
    500: '#523aae',
    950: '#000000',
  },
}
SCSS
$custom: #523aae;
$custom-light: #8b72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#523aae",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 252.414,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44616,
    "c": 0.1753,
    "h": 286.4
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #523AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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