#523FA3#523FA3

#523FA3 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.5% C 0.154 H 287.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#523FA3
RGBrgb(82, 63, 163)
HSLhsl(251, 44%, 44%)
HSVhsv(251, 61%, 64%)
CMYKcmyk(49.7%, 61.3%, 0%, 36.1%)
CIE-LABlab(33.97, 34.52, -51.58)
CIE-LCHlch(33.97, 62.06, 303.79°)
OKLaboklab(44.53% 0.0454 -0.1476)
OKLCHoklch(44.53% 0.154 287.1)
XYZxyz(11.8661, 7.9927, 35.5607)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FA3 #90A33F
analogous
#3F5EA3 #523FA3 #843FA3
triadic
#523FA3 #A3523F #3FA352
tetradic
#523FA3 #A33F5E #90A33F #3FA384
square
#523FA3 #A33F5E #90A33F #3FA384
split-complementary
#523FA3 #A3843F #5EA33F
monochromatic
#261D4B #3C2E77 #523FA3 #715EC1 #988AD2

Accessibility & contrast

On white

8.08
#523FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#523FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FA3
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FA3#FFFFFF#000000##FFFFFF
##523FA31.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#36566B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523fa3;
/* rgb */ color: rgb(82, 63, 163);
/* oklch */ color: oklch(44.5% 0.154 287.1);
Tailwind
colors: {
  custom: {
    50: '#8975bf',
    500: '#523fa3',
    950: '#000000',
  },
}
SCSS
$custom: #523fa3;
$custom-light: #8975bf;
$custom-dark: #000000;
JSON
{
  "hex": "#523fa3",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 251.4,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.15442,
    "h": 287.1
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#523FA3
secondary
#B1BD81
accent
#D454BC
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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