#523CA4#523CA4

#523CA4 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.1% C 0.160 H 287.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#523CA4
RGBrgb(82, 60, 164)
HSLhsl(253, 46%, 44%)
HSVhsv(253, 63%, 64%)
CMYKcmyk(50%, 63.4%, 0%, 35.7%)
CIE-LABlab(33.36, 36.63, -53.17)
CIE-LCHlch(33.36, 64.56, 304.56°)
OKLaboklab(44.11% 0.0486 -0.1523)
OKLCHoklch(44.11% 0.16 287.7)
XYZxyz(11.7944, 7.7054, 35.9806)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CA4 #8EA43C
analogous
#3C5AA4 #523CA4 #863CA4
triadic
#523CA4 #A4523C #3CA452
tetradic
#523CA4 #A43C5A #8EA43C #3CA486
square
#523CA4 #A43C5A #8EA43C #3CA486
split-complementary
#523CA4 #A4863C #5AA43C
monochromatic
#251B4A #3C2C77 #523CA4 #705AC3 #9787D3

Accessibility & contrast

On white

8.26
#523CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#523CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CA4
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CA4#FFFFFF#000000##FFFFFF
##523CA41.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#35556A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #523ca4;
/* rgb */ color: rgb(82, 60, 164);
/* oklch */ color: oklch(44.1% 0.160 287.7);
Tailwind
colors: {
  custom: {
    50: '#8a73c0',
    500: '#523ca4',
    950: '#000000',
  },
}
SCSS
$custom: #523ca4;
$custom-light: #8a73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#523ca4",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 252.692,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44106,
    "c": 0.15984,
    "h": 287.7
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#523CA4
secondary
#B0BD7E
accent
#D652BA
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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