#523CA3#523CA3

#523CA3 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.0% C 0.159 H 287.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#523CA3
RGBrgb(82, 60, 163)
HSLhsl(253, 46%, 44%)
HSVhsv(253, 63%, 64%)
CMYKcmyk(49.7%, 63.2%, 0%, 36.1%)
CIE-LABlab(33.28, 36.32, -52.69)
CIE-LCHlch(33.28, 64.00, 304.58°)
OKLaboklab(44.03% 0.0487 -0.1509)
OKLCHoklch(44.03% 0.159 287.9)
XYZxyz(11.7045, 7.6694, 35.5068)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CA3 #8DA33C
analogous
#3C59A3 #523CA3 #853CA3
triadic
#523CA3 #A3523C #3CA352
tetradic
#523CA3 #A33C59 #8DA33C #3CA385
square
#523CA3 #A33C59 #8DA33C #3CA385
split-complementary
#523CA3 #A3853C #59A33C
monochromatic
#251B4A #3B2C76 #523CA3 #705AC2 #9787D3

Accessibility & contrast

On white

8.29
#523CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#523CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CA3
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CA3#FFFFFF#000000##FFFFFF
##523CA31.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#36546A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #523ca3;
/* rgb */ color: rgb(82, 60, 163);
/* oklch */ color: oklch(44.0% 0.159 287.9);
Tailwind
colors: {
  custom: {
    50: '#8973bf',
    500: '#523ca3',
    950: '#000000',
  },
}
SCSS
$custom: #523ca3;
$custom-light: #8973bf;
$custom-dark: #000000;
JSON
{
  "hex": "#523ca3",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 252.816,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44026,
    "c": 0.15852,
    "h": 287.9
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #523CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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