#523BA4#523BA4

#523BA4 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.9% C 0.161 H 288.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#523BA4
RGBrgb(82, 59, 164)
HSLhsl(253, 47%, 44%)
HSVhsv(253, 64%, 64%)
CMYKcmyk(50%, 64%, 0%, 35.7%)
CIE-LABlab(33.14, 37.22, -53.53)
CIE-LCHlch(33.14, 65.20, 304.81°)
OKLaboklab(43.94% 0.0497 -0.1533)
OKLCHoklch(43.94% 0.161 288)
XYZxyz(11.7425, 7.6016, 35.9633)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BA4 #8DA43B
analogous
#3B58A4 #523BA4 #863BA4
triadic
#523BA4 #A4523B #3BA452
tetradic
#523BA4 #A43B58 #8DA43B #3BA486
square
#523BA4 #A43B58 #8DA43B #3BA486
split-complementary
#523BA4 #A4863B #58A43B
monochromatic
#251B4A #3B2B77 #523BA4 #7059C3 #9786D3

Accessibility & contrast

On white

8.33
#523BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#523BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BA4
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BA4#FFFFFF#000000##FFFFFF
##523BA41.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#35546A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #523ba4;
/* rgb */ color: rgb(82, 59, 164);
/* oklch */ color: oklch(43.9% 0.161 288.0);
Tailwind
colors: {
  custom: {
    50: '#8a72c0',
    500: '#523ba4',
    950: '#000000',
  },
}
SCSS
$custom: #523ba4;
$custom-light: #8a72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#523ba4",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 253.143,
    "s": 47.085,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43944,
    "c": 0.16117,
    "h": 288
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#523BA4
secondary
#AFBE7D
accent
#D751B9
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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