#523AA3#523AA3

#523AA3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.7% C 0.161 H 288.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#523AA3
RGBrgb(82, 58, 163)
HSLhsl(254, 48%, 43%)
HSVhsv(254, 64%, 64%)
CMYKcmyk(49.7%, 64.4%, 0%, 36.1%)
CIE-LABlab(32.84, 37.51, -53.41)
CIE-LCHlch(32.84, 65.26, 305.08°)
OKLaboklab(43.7% 0.0509 -0.153)
OKLCHoklch(43.7% 0.161 288.4)
XYZxyz(11.6017, 7.4638, 35.4726)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AA3 #8BA33A
analogous
#3A56A3 #523AA3 #863AA3
triadic
#523AA3 #A3523A #3AA352
tetradic
#523AA3 #A33A56 #8BA33A #3AA386
square
#523AA3 #A33A56 #8BA33A #3AA386
split-complementary
#523AA3 #A3863A #56A33A
monochromatic
#251A49 #3B2A76 #523AA3 #7057C3 #9684D3

Accessibility & contrast

On white

8.42
#523AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#523AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523AA3
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AA3#FFFFFF#000000##FFFFFF
##523AA31.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #523aa3;
/* rgb */ color: rgb(82, 58, 163);
/* oklch */ color: oklch(43.7% 0.161 288.4);
Tailwind
colors: {
  custom: {
    50: '#8a71bf',
    500: '#523aa3',
    950: '#000000',
  },
}
SCSS
$custom: #523aa3;
$custom-light: #8a71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#523aa3",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 253.714,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43703,
    "c": 0.16121,
    "h": 288.4
  },
  "luminance": 0.07464
}

Semantic roles & 50–950 ramp

primary
#523AA3
secondary
#AEBD7C
accent
#D751B8
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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