#523D86#523D86

#523D86 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 42.0% C 0.118 H 294.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#523D86
RGBrgb(82, 61, 134)
HSLhsl(257, 37%, 38%)
HSVhsv(257, 54%, 53%)
CMYKcmyk(38.8%, 54.5%, 0%, 47.5%)
CIE-LABlab(31.47, 27.03, -37.91)
CIE-LCHlch(31.47, 46.56, 305.49°)
OKLaboklab(42.04% 0.0479 -0.1074)
OKLCHoklch(42.04% 0.118 294)
XYZxyz(9.4504, 6.8524, 23.3744)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523D86 #71863D
analogous
#3D4C86 #523D86 #763D86
triadic
#523D86 #86523D #3D8652
tetradic
#523D86 #863D4C #71863D #3D8676
square
#523D86 #863D4C #71863D #3D8676
split-complementary
#523D86 #86763D #4C863D
monochromatic
#1F1732 #382A5C #523D86 #6C51B0 #8F7BC3

Accessibility & contrast

On white

8.86
#523D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#523D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523D86
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523D86#FFFFFF#000000##FFFFFF
##523D861.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#234984
Tritanopia (blue-blind)
#454C5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #523d86;
/* rgb */ color: rgb(82, 61, 134);
/* oklch */ color: oklch(42.0% 0.118 294.0);
Tailwind
colors: {
  custom: {
    50: '#8673aa',
    500: '#523d86',
    950: '#000000',
  },
}
SCSS
$custom: #523d86;
$custom-light: #8673aa;
$custom-dark: #000000;
JSON
{
  "hex": "#523d86",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 134
  },
  "hsl": {
    "h": 257.26,
    "s": 37.436,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42037,
    "c": 0.11759,
    "h": 294
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#523D86
secondary
#9CAD72
accent
#CD5AAC
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #523D86

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

Preview Lab → · Contrast checker → · Palette generator →

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