#523C8D#523C8D

#523C8D is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.4% C 0.129 H 292.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#523C8D
RGBrgb(82, 60, 141)
HSLhsl(256, 40%, 39%)
HSVhsv(256, 57%, 55%)
CMYKcmyk(41.8%, 57.4%, 0%, 44.7%)
CIE-LABlab(31.69, 29.71, -41.88)
CIE-LCHlch(31.69, 51.35, 305.36°)
OKLaboklab(42.35% 0.0494 -0.1191)
OKLCHoklch(42.35% 0.129 292.5)
XYZxyz(9.9020, 6.9484, 26.0136)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523C8D #778D3C
analogous
#3C4F8D #523C8D #7B3C8D
triadic
#523C8D #8D523C #3C8D52
tetradic
#523C8D #8D3C4F #778D3C #3C8D7B
square
#523C8D #8D3C4F #778D3C #3C8D7B
split-complementary
#523C8D #8D7B3C #4F8D3C
monochromatic
#201737 #392A62 #523C8D #6C51B5 #917CC7

Accessibility & contrast

On white

8.79
#523C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#523C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523C8D
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523C8D#FFFFFF#000000##FFFFFF
##523C8D1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C90
Deuteranopia (green-blind)
#18498B
Tritanopia (blue-blind)
#424D5E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #523c8d;
/* rgb */ color: rgb(82, 60, 141);
/* oklch */ color: oklch(42.4% 0.129 292.5);
Tailwind
colors: {
  custom: {
    50: '#8772af',
    500: '#523c8d',
    950: '#000000',
  },
}
SCSS
$custom: #523c8d;
$custom-light: #8772af;
$custom-dark: #000000;
JSON
{
  "hex": "#523c8d",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 256.296,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4235,
    "c": 0.12893,
    "h": 292.5
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#523C8D
secondary
#A0B174
accent
#D058AF
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #523C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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