#523DAE#523DAE

#523DAE is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.1% C 0.172 H 285.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#523DAE
RGBrgb(82, 61, 174)
HSLhsl(251, 48%, 46%)
HSVhsv(251, 65%, 68%)
CMYKcmyk(52.9%, 64.9%, 0%, 31.8%)
CIE-LABlab(34.37, 39.09, -57.51)
CIE-LCHlch(34.37, 69.54, 304.20°)
OKLaboklab(45.08% 0.0466 -0.165)
OKLCHoklch(45.08% 0.172 285.8)
XYZxyz(12.7861, 8.1867, 40.9426)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523DAE #99AE3D
analogous
#3D60AE #523DAE #8A3DAE
triadic
#523DAE #AE523D #3DAE52
tetradic
#523DAE #AE3D60 #99AE3D #3DAE8A
square
#523DAE #AE3D60 #99AE3D #3DAE8A
split-complementary
#523DAE #AE8A3D #60AE3D
monochromatic
#271D53 #3D2D81 #523DAE #7461C8 #9C8ED7

Accessibility & contrast

On white

7.96
#523DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#523DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523DAE
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523DAE#FFFFFF#000000##FFFFFF
##523DAE1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#2D5970
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523dae;
/* rgb */ color: rgb(82, 61, 174);
/* oklch */ color: oklch(45.1% 0.172 285.8);
Tailwind
colors: {
  custom: {
    50: '#8b74c7',
    500: '#523dae',
    950: '#000000',
  },
}
SCSS
$custom: #523dae;
$custom-light: #8b74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#523dae",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 174
  },
  "hsl": {
    "h": 251.15,
    "s": 48.085,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45084,
    "c": 0.17151,
    "h": 285.8
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #523DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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