#523BAE#523BAE

#523BAE is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.174 H 286.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#523BAE
RGBrgb(82, 59, 174)
HSLhsl(252, 49%, 46%)
HSVhsv(252, 66%, 68%)
CMYKcmyk(52.9%, 66.1%, 0%, 31.8%)
CIE-LABlab(33.94, 40.26, -58.22)
CIE-LCHlch(33.94, 70.78, 304.66°)
OKLaboklab(44.77% 0.0486 -0.1671)
OKLCHoklch(44.77% 0.174 286.2)
XYZxyz(12.6813, 7.9771, 40.9077)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BAE #97AE3B
analogous
#3B5DAE #523BAE #8B3BAE
triadic
#523BAE #AE523B #3BAE52
tetradic
#523BAE #AE3B5D #97AE3B #3BAE8B
square
#523BAE #AE3B5D #97AE3B #3BAE8B
split-complementary
#523BAE #AE8B3B #5DAE3B
monochromatic
#271C53 #3C2C80 #523BAE #735EC8 #9B8CD8

Accessibility & contrast

On white

8.09
#523BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523BAE
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BAE#FFFFFF#000000##FFFFFF
##523BAE1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#2E586F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523bae;
/* rgb */ color: rgb(82, 59, 174);
/* oklch */ color: oklch(44.8% 0.174 286.2);
Tailwind
colors: {
  custom: {
    50: '#8b72c7',
    500: '#523bae',
    950: '#000000',
  },
}
SCSS
$custom: #523bae;
$custom-light: #8b72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#523bae",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 252,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4477,
    "c": 0.17404,
    "h": 286.2
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#523BAE
secondary
#B6C282
accent
#D94FBD
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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