#523AA6#523AA6

#523AA6 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.9% C 0.165 H 287.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#523AA6
RGBrgb(82, 58, 166)
HSLhsl(253, 48%, 44%)
HSVhsv(253, 65%, 65%)
CMYKcmyk(50.6%, 65.1%, 0%, 34.9%)
CIE-LABlab(33.08, 38.41, -54.83)
CIE-LCHlch(33.08, 66.95, 305.01°)
OKLaboklab(43.95% 0.0506 -0.1572)
OKLCHoklch(43.95% 0.165 287.8)
XYZxyz(11.8737, 7.5726, 36.9050)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AA6 #8EA63A
analogous
#3A58A6 #523AA6 #883AA6
triadic
#523AA6 #A6523A #3AA652
tetradic
#523AA6 #A63A58 #8EA63A #3AA688
square
#523AA6 #A63A58 #8EA63A #3AA688
split-complementary
#523AA6 #A6883A #58A63A
monochromatic
#251A4B #3C2A79 #523AA6 #7058C5 #9786D5

Accessibility & contrast

On white

8.35
#523AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#523AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523AA6
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AA6#FFFFFF#000000##FFFFFF
##523AA61.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#34546A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #523aa6;
/* rgb */ color: rgb(82, 58, 166);
/* oklch */ color: oklch(43.9% 0.165 287.8);
Tailwind
colors: {
  custom: {
    50: '#8a71c1',
    500: '#523aa6',
    950: '#000000',
  },
}
SCSS
$custom: #523aa6;
$custom-light: #8a71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#523aa6",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 253.333,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43948,
    "c": 0.16509,
    "h": 287.8
  },
  "luminance": 0.07573
}

Semantic roles & 50–950 ramp

primary
#523AA6
secondary
#B0BF7D
accent
#D850BA
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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