#523E8A#523E8A

#523E8A is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.5% C 0.122 H 292.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#523E8A
RGBrgb(82, 62, 138)
HSLhsl(256, 38%, 39%)
HSVhsv(256, 55%, 54%)
CMYKcmyk(40.6%, 55.1%, 0%, 45.9%)
CIE-LABlab(31.97, 27.58, -39.57)
CIE-LCHlch(31.97, 48.24, 304.87°)
OKLaboklab(42.5% 0.0467 -0.1123)
OKLCHoklch(42.5% 0.122 292.6)
XYZxyz(9.7885, 7.0738, 24.8895)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523E8A #768A3E
analogous
#3E508A #523E8A #783E8A
triadic
#523E8A #8A523E #3E8A52
tetradic
#523E8A #8A3E50 #768A3E #3E8A78
square
#523E8A #8A3E50 #768A3E #3E8A78
split-complementary
#523E8A #8A783E #508A3E
monochromatic
#201836 #392B60 #523E8A #6C53B2 #907EC5

Accessibility & contrast

On white

8.70
#523E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#523E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523E8A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523E8A#FFFFFF#000000##FFFFFF
##523E8A1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4C8D
Deuteranopia (green-blind)
#204A88
Tritanopia (blue-blind)
#434E5E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #523e8a;
/* rgb */ color: rgb(82, 62, 138);
/* oklch */ color: oklch(42.5% 0.122 292.6);
Tailwind
colors: {
  custom: {
    50: '#8674ad',
    500: '#523e8a',
    950: '#000000',
  },
}
SCSS
$custom: #523e8a;
$custom-light: #8674ad;
$custom-dark: #000000;
JSON
{
  "hex": "#523e8a",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 255.789,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42496,
    "c": 0.12163,
    "h": 292.6
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

primary
#523E8A
secondary
#A0AF75
accent
#CE5AAF
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #523E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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