#523F9D#523F9D

#523F9D is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.1% C 0.146 H 288.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#523F9D
RGBrgb(82, 63, 157)
HSLhsl(252, 43%, 43%)
HSVhsv(252, 60%, 62%)
CMYKcmyk(47.8%, 59.9%, 0%, 38.4%)
CIE-LABlab(33.53, 32.68, -48.68)
CIE-LCHlch(33.53, 58.63, 303.88°)
OKLaboklab(44.06% 0.0457 -0.139)
OKLCHoklch(44.06% 0.146 288.2)
XYZxyz(11.3412, 7.7827, 32.7964)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523F9D #8A9D3F
analogous
#3F5B9D #523F9D #813F9D
triadic
#523F9D #9D523F #3F9D52
tetradic
#523F9D #9D3F5B #8A9D3F #3F9D81
square
#523F9D #9D3F5B #8A9D3F #3F9D81
split-complementary
#523F9D #9D813F #5B9D3F
monochromatic
#241C46 #3B2D71 #523F9D #6F5CBD #9687CF

Accessibility & contrast

On white

8.21
#523F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#523F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523F9D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523F9D#FFFFFF#000000##FFFFFF
##523F9D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#3A5468
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #523f9d;
/* rgb */ color: rgb(82, 63, 157);
/* oklch */ color: oklch(44.1% 0.146 288.2);
Tailwind
colors: {
  custom: {
    50: '#8875bb',
    500: '#523f9d',
    950: '#000000',
  },
}
SCSS
$custom: #523f9d;
$custom-light: #8875bb;
$custom-dark: #000000;
JSON
{
  "hex": "#523f9d",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 252.128,
    "s": 42.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44061,
    "c": 0.14635,
    "h": 288.2
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#523F9D
secondary
#AEBA7E
accent
#D355B9
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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