#523EA5#523EA5

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

Color values

HEX#523EA5
RGBrgb(82, 62, 165)
HSLhsl(252, 45%, 45%)
HSVhsv(252, 62%, 65%)
CMYKcmyk(50.3%, 62.4%, 0%, 35.3%)
CIE-LABlab(33.89, 35.74, -52.91)
CIE-LCHlch(33.89, 63.85, 304.04°)
OKLaboklab(44.52% 0.0464 -0.1515)
OKLCHoklch(44.52% 0.158 287)
XYZxyz(11.9918, 7.9551, 36.4936)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EA5 #91A53E
analogous
#3E5EA5 #523EA5 #853EA5
triadic
#523EA5 #A5523E #3EA552
tetradic
#523EA5 #A53E5E #91A53E #3EA585
square
#523EA5 #A53E5E #91A53E #3EA585
split-complementary
#523EA5 #A5853E #5EA53E
monochromatic
#261D4C #3C2D79 #523EA5 #715EC2 #988AD3

Accessibility & contrast

On white

8.10
#523EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#523EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523EA5
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EA5#FFFFFF#000000##FFFFFF
##523EA51.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#35566B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523ea5;
/* rgb */ color: rgb(82, 62, 165);
/* oklch */ color: oklch(44.5% 0.158 287.0);
Tailwind
colors: {
  custom: {
    50: '#8a74c0',
    500: '#523ea5',
    950: '#000000',
  },
}
SCSS
$custom: #523ea5;
$custom-light: #8a74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#523ea5",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 251.65,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44515,
    "c": 0.15844,
    "h": 287
  },
  "luminance": 0.07956
}

Semantic roles & 50–950 ramp

primary
#523EA5
secondary
#B2BE81
accent
#D553BC
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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