#523CA2#523CA2

#523CA2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.9% C 0.157 H 288.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#523CA2
RGBrgb(82, 60, 162)
HSLhsl(253, 46%, 44%)
HSVhsv(253, 63%, 64%)
CMYKcmyk(49.4%, 63%, 0%, 36.5%)
CIE-LABlab(33.21, 36.02, -52.21)
CIE-LCHlch(33.21, 63.43, 304.60°)
OKLaboklab(43.95% 0.0488 -0.1494)
OKLCHoklch(43.95% 0.157 288.1)
XYZxyz(11.6152, 7.6337, 35.0368)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CA2 #8CA23C
analogous
#3C59A2 #523CA2 #853CA2
triadic
#523CA2 #A2523C #3CA252
tetradic
#523CA2 #A23C59 #8CA23C #3CA285
square
#523CA2 #A23C59 #8CA23C #3CA285
split-complementary
#523CA2 #A2853C #59A23C
monochromatic
#251B49 #3B2B75 #523CA2 #7059C2 #9786D2

Accessibility & contrast

On white

8.31
#523CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#523CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CA2
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CA2#FFFFFF#000000##FFFFFF
##523CA21.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#375469
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #523ca2;
/* rgb */ color: rgb(82, 60, 162);
/* oklch */ color: oklch(43.9% 0.157 288.1);
Tailwind
colors: {
  custom: {
    50: '#8973be',
    500: '#523ca2',
    950: '#000000',
  },
}
SCSS
$custom: #523ca2;
$custom-light: #8973be;
$custom-dark: #000000;
JSON
{
  "hex": "#523ca2",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 252.941,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43946,
    "c": 0.15721,
    "h": 288.1
  },
  "luminance": 0.07634
}

Semantic roles & 50–950 ramp

primary
#523CA2
secondary
#AFBC7D
accent
#D652B9
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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