#523AAF#523AAF

#523AAF is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.177 H 286.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#523AAF
RGBrgb(82, 58, 175)
HSLhsl(252, 50%, 46%)
HSVhsv(252, 67%, 69%)
CMYKcmyk(53.1%, 66.9%, 0%, 31.4%)
CIE-LABlab(33.80, 41.14, -59.03)
CIE-LCHlch(33.80, 71.95, 304.87°)
OKLaboklab(44.7% 0.0495 -0.1695)
OKLCHoklch(44.7% 0.177 286.3)
XYZxyz(12.7283, 7.9144, 41.4061)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AAF #97AF3A
analogous
#3A5CAF #523AAF #8C3AAF
triadic
#523AAF #AF523A #3AAF52
tetradic
#523AAF #AF3A5C #97AF3A #3AAF8C
square
#523AAF #AF3A5C #97AF3A #3AAF8C
split-complementary
#523AAF #AF8C3A #5CAF3A
monochromatic
#271C53 #3C2B81 #523AAF #735DC9 #9B8BD9

Accessibility & contrast

On white

8.13
#523AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#523AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523AAF
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AAF#FFFFFF#000000##FFFFFF
##523AAF1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#2D576F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #523aaf;
/* rgb */ color: rgb(82, 58, 175);
/* oklch */ color: oklch(44.7% 0.177 286.3);
Tailwind
colors: {
  custom: {
    50: '#8b72c8',
    500: '#523aaf',
    950: '#000000',
  },
}
SCSS
$custom: #523aaf;
$custom-light: #8b72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#523aaf",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 252.308,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44701,
    "c": 0.17656,
    "h": 286.3
  },
  "luminance": 0.07915
}

Semantic roles & 50–950 ramp

primary
#523AAF
secondary
#B6C382
accent
#DA4EBD
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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