#523CA9#523CA9

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

Color values

HEX#523CA9
RGBrgb(82, 60, 169)
HSLhsl(252, 48%, 45%)
HSVhsv(252, 64%, 66%)
CMYKcmyk(51.5%, 64.5%, 0%, 33.7%)
CIE-LABlab(33.75, 38.15, -55.53)
CIE-LCHlch(33.75, 67.37, 304.49°)
OKLaboklab(44.51% 0.0482 -0.1592)
OKLCHoklch(44.51% 0.166 286.8)
XYZxyz(12.2549, 7.8895, 38.4055)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CA9 #93A93C
analogous
#3C5DA9 #523CA9 #883CA9
triadic
#523CA9 #A9523C #3CA952
tetradic
#523CA9 #A93C5D #93A93C #3CA988
square
#523CA9 #A93C5D #93A93C #3CA988
split-complementary
#523CA9 #A9883C #5DA93C
monochromatic
#261C4F #3C2C7C #523CA9 #725DC5 #998AD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##523CA9#FFFFFF#000000##FFFFFF
##523CA91.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)
#0052AC
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#32566D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #523ca9;
/* rgb */ color: rgb(82, 60, 169);
/* oklch */ color: oklch(44.5% 0.166 286.8);
Tailwind
colors: {
  custom: {
    50: '#8a73c3',
    500: '#523ca9',
    950: '#000000',
  },
}
SCSS
$custom: #523ca9;
$custom-light: #8a73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#523ca9",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 252.11,
    "s": 47.598,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44512,
    "c": 0.16634,
    "h": 286.8
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#523CA9
secondary
#B3C081
accent
#D751BC
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #523CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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