#523CA5#523CA5

#523CA5 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.2% C 0.161 H 287.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#523CA5
RGBrgb(82, 60, 165)
HSLhsl(253, 47%, 44%)
HSVhsv(253, 64%, 65%)
CMYKcmyk(50.3%, 63.6%, 0%, 35.3%)
CIE-LABlab(33.44, 36.93, -53.64)
CIE-LCHlch(33.44, 65.13, 304.55°)
OKLaboklab(44.19% 0.0485 -0.1536)
OKLCHoklch(44.19% 0.161 287.5)
XYZxyz(11.8851, 7.7416, 36.4581)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CA5 #8FA53C
analogous
#3C5BA5 #523CA5 #873CA5
triadic
#523CA5 #A5523C #3CA552
tetradic
#523CA5 #A53C5B #8FA53C #3CA587
square
#523CA5 #A53C5B #8FA53C #3CA587
split-complementary
#523CA5 #A5873C #5BA53C
monochromatic
#251B4B #3C2C78 #523CA5 #715BC3 #9888D4

Accessibility & contrast

On white

8.24
#523CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#523CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CA5
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CA5#FFFFFF#000000##FFFFFF
##523CA51.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#35556B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #523ca5;
/* rgb */ color: rgb(82, 60, 165);
/* oklch */ color: oklch(44.2% 0.161 287.5);
Tailwind
colors: {
  custom: {
    50: '#8a73c0',
    500: '#523ca5',
    950: '#000000',
  },
}
SCSS
$custom: #523ca5;
$custom-light: #8a73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#523ca5",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 252.571,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44187,
    "c": 0.16113,
    "h": 287.5
  },
  "luminance": 0.07742
}

Semantic roles & 50–950 ramp

primary
#523CA5
secondary
#B1BE7F
accent
#D651BA
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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