#523FA4#523FA4

#523FA4 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.6% C 0.156 H 286.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#523FA4
RGBrgb(82, 63, 164)
HSLhsl(251, 44%, 45%)
HSVhsv(251, 62%, 64%)
CMYKcmyk(50%, 61.6%, 0%, 35.7%)
CIE-LABlab(34.04, 34.83, -52.06)
CIE-LCHlch(34.04, 62.64, 303.78°)
OKLaboklab(44.6% 0.0454 -0.149)
OKLCHoklch(44.6% 0.156 286.9)
XYZxyz(11.9561, 8.0286, 36.0345)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FA4 #91A43F
analogous
#3F5FA4 #523FA4 #853FA4
triadic
#523FA4 #A4523F #3FA452
tetradic
#523FA4 #A43F5F #91A43F #3FA485
square
#523FA4 #A43F5F #91A43F #3FA485
split-complementary
#523FA4 #A4853F #5FA43F
monochromatic
#261D4C #3C2E78 #523FA4 #715FC1 #988BD2

Accessibility & contrast

On white

8.06
#523FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523FA4
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FA4#FFFFFF#000000##FFFFFF
##523FA41.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#35576B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523fa4;
/* rgb */ color: rgb(82, 63, 164);
/* oklch */ color: oklch(44.6% 0.156 286.9);
Tailwind
colors: {
  custom: {
    50: '#8975c0',
    500: '#523fa4',
    950: '#000000',
  },
}
SCSS
$custom: #523fa4;
$custom-light: #8975c0;
$custom-dark: #000000;
JSON
{
  "hex": "#523fa4",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 251.287,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44603,
    "c": 0.15575,
    "h": 286.9
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #523FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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