#523EA1#523EA1

#523EA1 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.2% C 0.153 H 287.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#523EA1
RGBrgb(82, 62, 161)
HSLhsl(252, 44%, 44%)
HSVhsv(252, 61%, 63%)
CMYKcmyk(49.1%, 61.5%, 0%, 36.9%)
CIE-LABlab(33.59, 34.51, -50.99)
CIE-LCHlch(33.59, 61.57, 304.09°)
OKLaboklab(44.2% 0.0466 -0.1459)
OKLCHoklch(44.2% 0.153 287.7)
XYZxyz(11.6335, 7.8118, 34.6062)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EA1 #8DA13E
analogous
#3E5BA1 #523EA1 #833EA1
triadic
#523EA1 #A1523E #3EA152
tetradic
#523EA1 #A13E5B #8DA13E #3EA183
square
#523EA1 #A13E5B #8DA13E #3EA183
split-complementary
#523EA1 #A1833E #5BA13E
monochromatic
#251C49 #3B2D75 #523EA1 #705CC0 #9788D1

Accessibility & contrast

On white

8.20
#523EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523EA1
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EA1#FFFFFF#000000##FFFFFF
##523EA11.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#375569
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #523ea1;
/* rgb */ color: rgb(82, 62, 161);
/* oklch */ color: oklch(44.2% 0.153 287.7);
Tailwind
colors: {
  custom: {
    50: '#8974be',
    500: '#523ea1',
    950: '#000000',
  },
}
SCSS
$custom: #523ea1;
$custom-light: #8974be;
$custom-dark: #000000;
JSON
{
  "hex": "#523ea1",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 252.121,
    "s": 44.395,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44199,
    "c": 0.15313,
    "h": 287.7
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

primary
#523EA1
secondary
#AFBC7F
accent
#D454BA
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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