#523DA7#523DA7

#523DA7 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.5% C 0.162 H 286.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#523DA7
RGBrgb(82, 61, 167)
HSLhsl(252, 46%, 45%)
HSVhsv(252, 63%, 65%)
CMYKcmyk(50.9%, 63.5%, 0%, 34.5%)
CIE-LABlab(33.82, 36.95, -54.23)
CIE-LCHlch(33.82, 65.62, 304.27°)
OKLaboklab(44.51% 0.0473 -0.1554)
OKLCHoklch(44.51% 0.162 286.9)
XYZxyz(12.1214, 7.9208, 37.4419)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523DA7 #92A73D
analogous
#3D5DA7 #523DA7 #873DA7
triadic
#523DA7 #A7523D #3DA752
tetradic
#523DA7 #A73D5D #92A73D #3DA787
square
#523DA7 #A73D5D #92A73D #3DA787
split-complementary
#523DA7 #A7873D #5DA73D
monochromatic
#261C4D #3C2D7A #523DA7 #725DC4 #998AD4

Accessibility & contrast

On white

8.13
#523DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#523DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523DA7
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523DA7#FFFFFF#000000##FFFFFF
##523DA71.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#33566C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523da7;
/* rgb */ color: rgb(82, 61, 167);
/* oklch */ color: oklch(44.5% 0.162 286.9);
Tailwind
colors: {
  custom: {
    50: '#8a74c2',
    500: '#523da7',
    950: '#000000',
  },
}
SCSS
$custom: #523da7;
$custom-light: #8a74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#523da7",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 251.887,
    "s": 46.491,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44511,
    "c": 0.16242,
    "h": 286.9
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#523DA7
secondary
#B3BF81
accent
#D652BC
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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