#523EA4#523EA4

#523EA4 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.4% C 0.157 H 287.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#523EA4
RGBrgb(82, 62, 164)
HSLhsl(252, 45%, 44%)
HSVhsv(252, 62%, 64%)
CMYKcmyk(50%, 62.2%, 0%, 35.7%)
CIE-LABlab(33.81, 35.43, -52.43)
CIE-LCHlch(33.81, 63.28, 304.05°)
OKLaboklab(44.44% 0.0465 -0.1501)
OKLCHoklch(44.44% 0.157 287.2)
XYZxyz(11.9012, 7.9189, 36.0162)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EA4 #90A43E
analogous
#3E5DA4 #523EA4 #853EA4
triadic
#523EA4 #A4523E #3EA452
tetradic
#523EA4 #A43E5D #90A43E #3EA485
square
#523EA4 #A43E5D #90A43E #3EA485
split-complementary
#523EA4 #A4853E #5DA43E
monochromatic
#261C4B #3C2D78 #523EA4 #715DC2 #988AD3

Accessibility & contrast

On white

8.13
#523EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#523EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523EA4
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EA4#FFFFFF#000000##FFFFFF
##523EA41.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#35566B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #523ea4;
/* rgb */ color: rgb(82, 62, 164);
/* oklch */ color: oklch(44.4% 0.157 287.2);
Tailwind
colors: {
  custom: {
    50: '#8974c0',
    500: '#523ea4',
    950: '#000000',
  },
}
SCSS
$custom: #523ea4;
$custom-light: #8974c0;
$custom-dark: #000000;
JSON
{
  "hex": "#523ea4",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 251.765,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44435,
    "c": 0.15713,
    "h": 287.2
  },
  "luminance": 0.07919
}

Semantic roles & 50–950 ramp

primary
#523EA4
secondary
#B1BD81
accent
#D553BB
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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