#523CAB#523CAB

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

Color values

HEX#523CAB
RGBrgb(82, 60, 171)
HSLhsl(252, 48%, 45%)
HSVhsv(252, 65%, 67%)
CMYKcmyk(52%, 64.9%, 0%, 32.9%)
CIE-LABlab(33.91, 38.76, -56.47)
CIE-LCHlch(33.91, 68.49, 304.46°)
OKLaboklab(44.68% 0.048 -0.162)
OKLCHoklch(44.68% 0.169 286.5)
XYZxyz(12.4440, 7.9652, 39.4019)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CAB #95AB3C
analogous
#3C5DAB #523CAB #893CAB
triadic
#523CAB #AB523C #3CAB52
tetradic
#523CAB #AB3C5D #95AB3C #3CAB89
square
#523CAB #AB3C5D #95AB3C #3CAB89
split-complementary
#523CAB #AB893C #5DAB3C
monochromatic
#271C50 #3C2C7E #523CAB #735EC6 #9A8BD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##523CAB#FFFFFF#000000##FFFFFF
##523CAB1.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)
#0053AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#30576E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523cab;
/* rgb */ color: rgb(82, 60, 171);
/* oklch */ color: oklch(44.7% 0.169 286.5);
Tailwind
colors: {
  custom: {
    50: '#8b73c5',
    500: '#523cab',
    950: '#000000',
  },
}
SCSS
$custom: #523cab;
$custom-light: #8b73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#523cab",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 251.892,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44677,
    "c": 0.16892,
    "h": 286.5
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#523CAB
secondary
#B4C182
accent
#D850BD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #523CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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