#523CA7#523CA7

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

Color values

HEX#523CA7
RGBrgb(82, 60, 167)
HSLhsl(252, 47%, 45%)
HSVhsv(252, 64%, 65%)
CMYKcmyk(50.9%, 64.1%, 0%, 34.5%)
CIE-LABlab(33.59, 37.54, -54.59)
CIE-LCHlch(33.59, 66.25, 304.52°)
OKLaboklab(44.35% 0.0484 -0.1564)
OKLCHoklch(44.35% 0.164 287.2)
XYZxyz(12.0685, 7.8150, 37.4243)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CA7 #91A73C
analogous
#3C5CA7 #523CA7 #883CA7
triadic
#523CA7 #A7523C #3CA752
tetradic
#523CA7 #A73C5C #91A73C #3CA788
square
#523CA7 #A73C5C #91A73C #3CA788
split-complementary
#523CA7 #A7883C #5CA73C
monochromatic
#261C4D #3C2C7A #523CA7 #715CC4 #9889D5

Accessibility & contrast

On white

8.19
#523CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523CA7
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CA7#FFFFFF#000000##FFFFFF
##523CA71.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#33566C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #523ca7;
/* rgb */ color: rgb(82, 60, 167);
/* oklch */ color: oklch(44.3% 0.164 287.2);
Tailwind
colors: {
  custom: {
    50: '#8a73c2',
    500: '#523ca7',
    950: '#000000',
  },
}
SCSS
$custom: #523ca7;
$custom-light: #8a73c2;
$custom-dark: #000000;
JSON
{
  "hex": "#523ca7",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 252.336,
    "s": 47.137,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44349,
    "c": 0.16375,
    "h": 287.2
  },
  "luminance": 0.07816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #523CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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