#523EA6#523EA6

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

Color values

HEX#523EA6
RGBrgb(82, 62, 166)
HSLhsl(252, 46%, 45%)
HSVhsv(252, 63%, 65%)
CMYKcmyk(50.6%, 62.7%, 0%, 34.9%)
CIE-LABlab(33.97, 36.04, -53.39)
CIE-LCHlch(33.97, 64.41, 304.02°)
OKLaboklab(44.6% 0.0463 -0.1529)
OKLCHoklch(44.6% 0.16 286.9)
XYZxyz(12.0832, 7.9917, 36.9749)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EA6 #92A63E
analogous
#3E5EA6 #523EA6 #863EA6
triadic
#523EA6 #A6523E #3EA652
tetradic
#523EA6 #A63E5E #92A63E #3EA686
square
#523EA6 #A63E5E #92A63E #3EA686
split-complementary
#523EA6 #A6863E #5EA63E
monochromatic
#261D4D #3C2D79 #523EA6 #725EC3 #998BD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##523EA6#FFFFFF#000000##FFFFFF
##523EA61.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)
#0052A9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#34576C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523ea6;
/* rgb */ color: rgb(82, 62, 166);
/* oklch */ color: oklch(44.6% 0.160 286.9);
Tailwind
colors: {
  custom: {
    50: '#8a74c1',
    500: '#523ea6',
    950: '#000000',
  },
}
SCSS
$custom: #523ea6;
$custom-light: #8a74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#523ea6",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 251.538,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44595,
    "c": 0.15977,
    "h": 286.9
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#523EA6
secondary
#B3BE82
accent
#D553BC
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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