#523EA0#523EA0

#523EA0 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.1% C 0.152 H 287.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#523EA0
RGBrgb(82, 62, 160)
HSLhsl(252, 44%, 44%)
HSVhsv(252, 61%, 63%)
CMYKcmyk(48.8%, 61.2%, 0%, 37.3%)
CIE-LABlab(33.51, 34.21, -50.51)
CIE-LCHlch(33.51, 61.00, 304.11°)
OKLaboklab(44.12% 0.0467 -0.1444)
OKLCHoklch(44.12% 0.152 287.9)
XYZxyz(11.5456, 7.7767, 34.1436)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EA0 #8CA03E
analogous
#3E5BA0 #523EA0 #833EA0
triadic
#523EA0 #A0523E #3EA052
tetradic
#523EA0 #A03E5B #8CA03E #3EA083
square
#523EA0 #A03E5B #8CA03E #3EA083
split-complementary
#523EA0 #A0833E #5BA03E
monochromatic
#251C48 #3B2D74 #523EA0 #705CC0 #9788D1

Accessibility & contrast

On white

8.22
#523EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#523EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523EA0
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EA0#FFFFFF#000000##FFFFFF
##523EA01.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#385569
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #523ea0;
/* rgb */ color: rgb(82, 62, 160);
/* oklch */ color: oklch(44.1% 0.152 287.9);
Tailwind
colors: {
  custom: {
    50: '#8974bd',
    500: '#523ea0',
    950: '#000000',
  },
}
SCSS
$custom: #523ea0;
$custom-light: #8974bd;
$custom-dark: #000000;
JSON
{
  "hex": "#523ea0",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 252.245,
    "s": 44.144,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44121,
    "c": 0.1518,
    "h": 287.9
  },
  "luminance": 0.07777
}

Semantic roles & 50–950 ramp

primary
#523EA0
secondary
#AFBB7F
accent
#D454BA
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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