#523CAE#523CAE

#523CAE is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.9% C 0.173 H 286.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#523CAE
RGBrgb(82, 60, 174)
HSLhsl(252, 49%, 46%)
HSVhsv(252, 66%, 68%)
CMYKcmyk(52.9%, 65.5%, 0%, 31.8%)
CIE-LABlab(34.15, 39.67, -57.87)
CIE-LCHlch(34.15, 70.16, 304.43°)
OKLaboklab(44.93% 0.0476 -0.1661)
OKLCHoklch(44.93% 0.173 286)
XYZxyz(12.7332, 8.0809, 40.9250)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CAE #98AE3C
analogous
#3C5FAE #523CAE #8B3CAE
triadic
#523CAE #AE523C #3CAE52
tetradic
#523CAE #AE3C5F #98AE3C #3CAE8B
square
#523CAE #AE3C5F #98AE3C #3CAE8B
split-complementary
#523CAE #AE8B3C #5FAE3C
monochromatic
#271D53 #3D2C80 #523CAE #735FC8 #9B8DD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##523CAE#FFFFFF#000000##FFFFFF
##523CAE1.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)
#0053B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#2E586F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523cae;
/* rgb */ color: rgb(82, 60, 174);
/* oklch */ color: oklch(44.9% 0.173 286.0);
Tailwind
colors: {
  custom: {
    50: '#8b73c7',
    500: '#523cae',
    950: '#000000',
  },
}
SCSS
$custom: #523cae;
$custom-light: #8b73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#523cae",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 251.579,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44926,
    "c": 0.17278,
    "h": 286
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#523CAE
secondary
#B6C283
accent
#D850BE
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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