#523FA2#523FA2

#523FA2 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.4% C 0.153 H 287.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#523FA2
RGBrgb(82, 63, 162)
HSLhsl(252, 44%, 44%)
HSVhsv(252, 61%, 64%)
CMYKcmyk(49.4%, 61.1%, 0%, 36.5%)
CIE-LABlab(33.89, 34.21, -51.10)
CIE-LCHlch(33.89, 61.49, 303.80°)
OKLaboklab(44.45% 0.0455 -0.1462)
OKLCHoklch(44.45% 0.153 287.3)
XYZxyz(11.7769, 7.9570, 35.0907)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FA2 #8FA23F
analogous
#3F5EA2 #523FA2 #843FA2
triadic
#523FA2 #A2523F #3FA252
tetradic
#523FA2 #A23F5E #8FA23F #3FA284
square
#523FA2 #A23F5E #8FA23F #3FA284
split-complementary
#523FA2 #A2843F #5EA23F
monochromatic
#251D4A #3C2E76 #523FA2 #715EC0 #988AD1

Accessibility & contrast

On white

8.10
#523FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#523FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FA2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FA2#FFFFFF#000000##FFFFFF
##523FA21.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#36566A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523fa2;
/* rgb */ color: rgb(82, 63, 162);
/* oklch */ color: oklch(44.4% 0.153 287.3);
Tailwind
colors: {
  custom: {
    50: '#8975be',
    500: '#523fa2',
    950: '#000000',
  },
}
SCSS
$custom: #523fa2;
$custom-light: #8975be;
$custom-dark: #000000;
JSON
{
  "hex": "#523fa2",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 251.515,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44446,
    "c": 0.15308,
    "h": 287.3
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#523FA2
secondary
#B1BC81
accent
#D454BB
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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