#523D82#523D82

#523D82 is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.8% C 0.112 H 295.2°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#523D82
RGBrgb(82, 61, 130)
HSLhsl(258, 36%, 37%)
HSVhsv(258, 53%, 51%)
CMYKcmyk(36.9%, 53.1%, 0%, 49%)
CIE-LABlab(31.21, 25.87, -35.84)
CIE-LCHlch(31.21, 44.20, 305.82°)
OKLaboklab(41.77% 0.0476 -0.1013)
OKLCHoklch(41.77% 0.112 295.2)
XYZxyz(9.1767, 6.7429, 21.9328)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523D82 #6D823D
analogous
#3D4A82 #523D82 #753D82
triadic
#523D82 #82523D #3D8252
tetradic
#523D82 #823D4A #6D823D #3D8275
square
#523D82 #823D4A #6D823D #3D8275
split-complementary
#523D82 #82753D #4A823D
monochromatic
#1D162F #382958 #523D82 #6C51AC #8F79C0

Accessibility & contrast

On white

8.94
#523D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#523D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523D82
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523D82#FFFFFF#000000##FFFFFF
##523D821.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A84
Deuteranopia (green-blind)
#274880
Tritanopia (blue-blind)
#474B59
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #523d82;
/* rgb */ color: rgb(82, 61, 130);
/* oklch */ color: oklch(41.8% 0.112 295.2);
Tailwind
colors: {
  custom: {
    50: '#8573a7',
    500: '#523d82',
    950: '#000000',
  },
}
SCSS
$custom: #523d82;
$custom-light: #8573a7;
$custom-dark: #000000;
JSON
{
  "hex": "#523d82",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 130
  },
  "hsl": {
    "h": 258.261,
    "s": 36.126,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41766,
    "c": 0.11194,
    "h": 295.2
  },
  "luminance": 0.06743
}

Semantic roles & 50–950 ramp

primary
#523D82
secondary
#99AA71
accent
#CC5CAA
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #523D82

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

Preview Lab → · Contrast checker → · Palette generator →

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