#523C97#523C97

#523C97 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.1% C 0.143 H 290.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#523C97
RGBrgb(82, 60, 151)
HSLhsl(255, 43%, 41%)
HSVhsv(255, 60%, 59%)
CMYKcmyk(45.7%, 60.3%, 0%, 40.8%)
CIE-LABlab(32.39, 32.70, -46.87)
CIE-LCHlch(32.39, 57.15, 304.90°)
OKLaboklab(43.09% 0.0494 -0.1337)
OKLCHoklch(43.09% 0.143 290.3)
XYZxyz(10.6799, 7.2595, 30.1107)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523C97 #81973C
analogous
#3C5497 #523C97 #803C97
triadic
#523C97 #97523C #3C9752
tetradic
#523C97 #973C54 #81973C #3C9780
square
#523C97 #973C54 #81973C #3C9780
split-complementary
#523C97 #97803C #54973C
monochromatic
#22193F #3A2B6B #523C97 #6E55BB #9381CD

Accessibility & contrast

On white

8.56
#523C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#523C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523C97
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523C97#FFFFFF#000000##FFFFFF
##523C971.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#3D5063
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #523c97;
/* rgb */ color: rgb(82, 60, 151);
/* oklch */ color: oklch(43.1% 0.143 290.3);
Tailwind
colors: {
  custom: {
    50: '#8872b6',
    500: '#523c97',
    950: '#000000',
  },
}
SCSS
$custom: #523c97;
$custom-light: #8872b6;
$custom-dark: #000000;
JSON
{
  "hex": "#523c97",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 254.505,
    "s": 43.128,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4309,
    "c": 0.14256,
    "h": 290.3
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#523C97
secondary
#A8B778
accent
#D355B4
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #523C97

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

Preview Lab → · Contrast checker → · Palette generator →

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