#523CA6#523CA6

#523CA6 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.3% C 0.162 H 287.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#523CA6
RGBrgb(82, 60, 166)
HSLhsl(252, 47%, 44%)
HSVhsv(252, 64%, 65%)
CMYKcmyk(50.6%, 63.9%, 0%, 34.9%)
CIE-LABlab(33.52, 37.24, -54.12)
CIE-LCHlch(33.52, 65.69, 304.53°)
OKLaboklab(44.27% 0.0485 -0.155)
OKLCHoklch(44.27% 0.162 287.4)
XYZxyz(11.9765, 7.7782, 36.9393)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CA6 #90A63C
analogous
#3C5BA6 #523CA6 #873CA6
triadic
#523CA6 #A6523C #3CA652
tetradic
#523CA6 #A63C5B #90A63C #3CA687
square
#523CA6 #A63C5B #90A63C #3CA687
split-complementary
#523CA6 #A6873C #5BA63C
monochromatic
#261C4C #3C2C79 #523CA6 #715BC4 #9888D4

Accessibility & contrast

On white

8.22
#523CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#523CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CA6
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CA6#FFFFFF#000000##FFFFFF
##523CA61.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#34556B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #523ca6;
/* rgb */ color: rgb(82, 60, 166);
/* oklch */ color: oklch(44.3% 0.162 287.4);
Tailwind
colors: {
  custom: {
    50: '#8a73c1',
    500: '#523ca6',
    950: '#000000',
  },
}
SCSS
$custom: #523ca6;
$custom-light: #8a73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#523ca6",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 252.453,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44268,
    "c": 0.16245,
    "h": 287.4
  },
  "luminance": 0.07779
}

Semantic roles & 50–950 ramp

primary
#523CA6
secondary
#B1BE7F
accent
#D751BB
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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