#523AA9#523AA9

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

Color values

HEX#523AA9
RGBrgb(82, 58, 169)
HSLhsl(253, 49%, 45%)
HSVhsv(253, 66%, 66%)
CMYKcmyk(51.5%, 65.7%, 0%, 33.7%)
CIE-LABlab(33.32, 39.32, -56.24)
CIE-LCHlch(33.32, 68.62, 304.96°)
OKLaboklab(44.2% 0.0502 -0.1613)
OKLCHoklch(44.2% 0.169 287.3)
XYZxyz(12.1521, 7.6839, 38.3713)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AA9 #91A93A
analogous
#3A5AA9 #523AA9 #8A3AA9
triadic
#523AA9 #A9523A #3AA952
tetradic
#523AA9 #A93A5A #91A93A #3AA98A
square
#523AA9 #A93A5A #91A93A #3AA98A
split-complementary
#523AA9 #A98A3A #5AA93A
monochromatic
#261B4E #3C2A7B #523AA9 #715AC6 #9887D6

Accessibility & contrast

On white

8.28
#523AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523AA9
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AA9#FFFFFF#000000##FFFFFF
##523AA91.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#32556C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #523aa9;
/* rgb */ color: rgb(82, 58, 169);
/* oklch */ color: oklch(44.2% 0.169 287.3);
Tailwind
colors: {
  custom: {
    50: '#8a72c3',
    500: '#523aa9',
    950: '#000000',
  },
}
SCSS
$custom: #523aa9;
$custom-light: #8a72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#523aa9",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 252.973,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44196,
    "c": 0.16894,
    "h": 287.3
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#523AA9
secondary
#B2C07F
accent
#D84FBB
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #523AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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