#523FA5#523FA5

#523FA5 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.7% C 0.157 H 286.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#523FA5
RGBrgb(82, 63, 165)
HSLhsl(251, 45%, 45%)
HSVhsv(251, 62%, 65%)
CMYKcmyk(50.3%, 61.8%, 0%, 35.3%)
CIE-LABlab(34.12, 35.13, -52.54)
CIE-LCHlch(34.12, 63.20, 303.77°)
OKLaboklab(44.68% 0.0453 -0.1504)
OKLCHoklch(44.68% 0.157 286.8)
XYZxyz(12.0467, 8.0649, 36.5119)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FA5 #92A53F
analogous
#3F5FA5 #523FA5 #853FA5
triadic
#523FA5 #A5523F #3FA552
tetradic
#523FA5 #A53F5F #92A53F #3FA585
square
#523FA5 #A53F5F #92A53F #3FA585
split-complementary
#523FA5 #A5853F #5FA53F
monochromatic
#261D4C #3C2E79 #523FA5 #725FC2 #998CD3

Accessibility & contrast

On white

8.04
#523FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#523FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FA5
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FA5#FFFFFF#000000##FFFFFF
##523FA51.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#34576C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523fa5;
/* rgb */ color: rgb(82, 63, 165);
/* oklch */ color: oklch(44.7% 0.157 286.8);
Tailwind
colors: {
  custom: {
    50: '#8a75c0',
    500: '#523fa5',
    950: '#000000',
  },
}
SCSS
$custom: #523fa5;
$custom-light: #8a75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#523fa5",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 251.176,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44682,
    "c": 0.15709,
    "h": 286.8
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#523FA5
secondary
#B3BE82
accent
#D453BC
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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