#523D84#523D84

#523D84 is a dark, moderate violet. Relative luminance 0.068; OKLCH L 41.9% C 0.115 H 294.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#523D84
RGBrgb(82, 61, 132)
HSLhsl(258, 37%, 38%)
HSVhsv(258, 54%, 52%)
CMYKcmyk(37.9%, 53.8%, 0%, 48.2%)
CIE-LABlab(31.34, 26.45, -36.88)
CIE-LCHlch(31.34, 45.38, 305.65°)
OKLaboklab(41.9% 0.0477 -0.1044)
OKLCHoklch(41.9% 0.115 294.6)
XYZxyz(9.3122, 6.7971, 22.6467)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523D84 #6F843D
analogous
#3D4C84 #523D84 #753D84
triadic
#523D84 #84523D #3D8452
tetradic
#523D84 #843D4C #6F843D #3D8475
square
#523D84 #843D4C #6F843D #3D8475
split-complementary
#523D84 #84753D #4C843D
monochromatic
#1E1630 #382A5A #523D84 #6C50AE #8F7AC1

Accessibility & contrast

On white

8.90
#523D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#523D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523D84
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523D84#FFFFFF#000000##FFFFFF
##523D841.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A86
Deuteranopia (green-blind)
#254982
Tritanopia (blue-blind)
#464B5A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #523d84;
/* rgb */ color: rgb(82, 61, 132);
/* oklch */ color: oklch(41.9% 0.115 294.6);
Tailwind
colors: {
  custom: {
    50: '#8673a8',
    500: '#523d84',
    950: '#000000',
  },
}
SCSS
$custom: #523d84;
$custom-light: #8673a8;
$custom-dark: #000000;
JSON
{
  "hex": "#523d84",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 257.746,
    "s": 36.788,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41901,
    "c": 0.11478,
    "h": 294.6
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#523D84
secondary
#9AAB71
accent
#CD5BAB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #523D84

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

Preview Lab → · Contrast checker → · Palette generator →

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