#523BA2#523BA2

#523BA2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.8% C 0.159 H 288.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#523BA2
RGBrgb(82, 59, 162)
HSLhsl(253, 47%, 43%)
HSVhsv(253, 64%, 64%)
CMYKcmyk(49.4%, 63.6%, 0%, 36.5%)
CIE-LABlab(32.98, 36.61, -52.57)
CIE-LCHlch(32.98, 64.07, 304.85°)
OKLaboklab(43.78% 0.0499 -0.1505)
OKLCHoklch(43.78% 0.159 288.3)
XYZxyz(11.5633, 7.5299, 35.0196)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BA2 #8BA23B
analogous
#3B57A2 #523BA2 #853BA2
triadic
#523BA2 #A2523B #3BA252
tetradic
#523BA2 #A23B57 #8BA23B #3BA285
square
#523BA2 #A23B57 #8BA23B #3BA285
split-complementary
#523BA2 #A2853B #57A23B
monochromatic
#251A48 #3B2B75 #523BA2 #7058C2 #9685D3

Accessibility & contrast

On white

8.38
#523BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523BA2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BA2#FFFFFF#000000##FFFFFF
##523BA21.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #523ba2;
/* rgb */ color: rgb(82, 59, 162);
/* oklch */ color: oklch(43.8% 0.159 288.3);
Tailwind
colors: {
  custom: {
    50: '#8972be',
    500: '#523ba2',
    950: '#000000',
  },
}
SCSS
$custom: #523ba2;
$custom-light: #8972be;
$custom-dark: #000000;
JSON
{
  "hex": "#523ba2",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 253.398,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43783,
    "c": 0.15857,
    "h": 288.3
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #523BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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