#523EA2#523EA2

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

Color values

HEX#523EA2
RGBrgb(82, 62, 162)
HSLhsl(252, 45%, 44%)
HSVhsv(252, 62%, 64%)
CMYKcmyk(49.4%, 61.7%, 0%, 36.5%)
CIE-LABlab(33.66, 34.82, -51.47)
CIE-LCHlch(33.66, 62.14, 304.08°)
OKLaboklab(44.28% 0.0466 -0.1473)
OKLCHoklch(44.28% 0.154 287.6)
XYZxyz(11.7220, 7.8472, 35.0724)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EA2 #8EA23E
analogous
#3E5CA2 #523EA2 #843EA2
triadic
#523EA2 #A2523E #3EA252
tetradic
#523EA2 #A23E5C #8EA23E #3EA284
square
#523EA2 #A23E5C #8EA23E #3EA284
split-complementary
#523EA2 #A2843E #5CA23E
monochromatic
#251C49 #3C2D76 #523EA2 #705CC1 #9789D2

Accessibility & contrast

On white

8.17
#523EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#523EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523EA2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EA2#FFFFFF#000000##FFFFFF
##523EA21.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#37556A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #523ea2;
/* rgb */ color: rgb(82, 62, 162);
/* oklch */ color: oklch(44.3% 0.154 287.6);
Tailwind
colors: {
  custom: {
    50: '#8974be',
    500: '#523ea2',
    950: '#000000',
  },
}
SCSS
$custom: #523ea2;
$custom-light: #8974be;
$custom-dark: #000000;
JSON
{
  "hex": "#523ea2",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 252,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44278,
    "c": 0.15447,
    "h": 287.6
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#523EA2
secondary
#B0BC80
accent
#D453BB
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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