#523BAC#523BAC

#523BAC is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.6% C 0.171 H 286.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#523BAC
RGBrgb(82, 59, 172)
HSLhsl(252, 49%, 45%)
HSVhsv(252, 66%, 67%)
CMYKcmyk(52.3%, 65.7%, 0%, 32.5%)
CIE-LABlab(33.77, 39.65, -57.29)
CIE-LCHlch(33.77, 69.67, 304.68°)
OKLaboklab(44.6% 0.0489 -0.1644)
OKLCHoklch(44.6% 0.171 286.6)
XYZxyz(12.4878, 7.8997, 39.8885)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BAC #95AC3B
analogous
#3B5DAC #523BAC #8A3BAC
triadic
#523BAC #AC523B #3BAC52
tetradic
#523BAC #AC3B5D #95AC3B #3BAC8A
square
#523BAC #AC3B5D #95AC3B #3BAC8A
split-complementary
#523BAC #AC8A3B #5DAC3B
monochromatic
#271C51 #3C2B7E #523BAC #735DC7 #9A8AD7

Accessibility & contrast

On white

8.14
#523BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#523BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BAC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BAC#FFFFFF#000000##FFFFFF
##523BAC1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#2F576E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #523bac;
/* rgb */ color: rgb(82, 59, 172);
/* oklch */ color: oklch(44.6% 0.171 286.6);
Tailwind
colors: {
  custom: {
    50: '#8b72c6',
    500: '#523bac',
    950: '#000000',
  },
}
SCSS
$custom: #523bac;
$custom-light: #8b72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#523bac",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 252.212,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44603,
    "c": 0.17149,
    "h": 286.6
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#523BAC
secondary
#B4C181
accent
#D84FBD
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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