#523EA7#523EA7

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

Color values

HEX#523EA7
RGBrgb(82, 62, 167)
HSLhsl(251, 46%, 45%)
HSVhsv(251, 63%, 65%)
CMYKcmyk(50.9%, 62.9%, 0%, 34.5%)
CIE-LABlab(34.04, 36.35, -53.86)
CIE-LCHlch(34.04, 64.98, 304.01°)
OKLaboklab(44.68% 0.0463 -0.1543)
OKLCHoklch(44.68% 0.161 286.7)
XYZxyz(12.1753, 8.0285, 37.4598)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EA7 #93A73E
analogous
#3E5EA7 #523EA7 #873EA7
triadic
#523EA7 #A7523E #3EA752
tetradic
#523EA7 #A73E5E #93A73E #3EA787
square
#523EA7 #A73E5E #93A73E #3EA787
split-complementary
#523EA7 #A7873E #5EA73E
monochromatic
#261D4E #3C2D7A #523EA7 #725FC3 #998BD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##523EA7#FFFFFF#000000##FFFFFF
##523EA71.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)
#0053AA
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#33576C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523ea7;
/* rgb */ color: rgb(82, 62, 167);
/* oklch */ color: oklch(44.7% 0.161 286.7);
Tailwind
colors: {
  custom: {
    50: '#8a74c2',
    500: '#523ea7',
    950: '#000000',
  },
}
SCSS
$custom: #523ea7;
$custom-light: #8a74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#523ea7",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 251.429,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44675,
    "c": 0.16108,
    "h": 286.7
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#523EA7
secondary
#B3BF82
accent
#D652BD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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