#523BA3#523BA3

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

Color values

HEX#523BA3
RGBrgb(82, 59, 163)
HSLhsl(253, 47%, 44%)
HSVhsv(253, 64%, 64%)
CMYKcmyk(49.7%, 63.8%, 0%, 36.1%)
CIE-LABlab(33.06, 36.92, -53.05)
CIE-LCHlch(33.06, 64.63, 304.83°)
OKLaboklab(43.86% 0.0498 -0.1519)
OKLCHoklch(43.86% 0.16 288.1)
XYZxyz(11.6526, 7.5656, 35.4896)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BA3 #8CA33B
analogous
#3B58A3 #523BA3 #863BA3
triadic
#523BA3 #A3523B #3BA352
tetradic
#523BA3 #A33B58 #8CA33B #3BA386
square
#523BA3 #A33B58 #8CA33B #3BA386
split-complementary
#523BA3 #A3863B #58A33B
monochromatic
#251A49 #3B2B76 #523BA3 #7058C3 #9785D3

Accessibility & contrast

On white

8.36
#523BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#523BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BA3
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BA3#FFFFFF#000000##FFFFFF
##523BA31.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#365469
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #523ba3;
/* rgb */ color: rgb(82, 59, 163);
/* oklch */ color: oklch(43.9% 0.160 288.1);
Tailwind
colors: {
  custom: {
    50: '#8a72bf',
    500: '#523ba3',
    950: '#000000',
  },
}
SCSS
$custom: #523ba3;
$custom-light: #8a72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#523ba3",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 253.269,
    "s": 46.847,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43863,
    "c": 0.15987,
    "h": 288.1
  },
  "luminance": 0.07566
}

Semantic roles & 50–950 ramp

primary
#523BA3
secondary
#AFBD7D
accent
#D651B9
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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