#523CB5#523CB5

#523CB5 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.5% C 0.182 H 284.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#523CB5
RGBrgb(82, 60, 181)
HSLhsl(251, 50%, 47%)
HSVhsv(251, 67%, 71%)
CMYKcmyk(54.7%, 66.9%, 0%, 29%)
CIE-LABlab(34.72, 41.81, -61.09)
CIE-LCHlch(34.72, 74.03, 304.39°)
OKLaboklab(45.52% 0.0468 -0.1756)
OKLCHoklch(45.52% 0.182 284.9)
XYZxyz(13.4335, 8.3610, 44.6131)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CB5 #9FB53C
analogous
#3C63B5 #523CB5 #8E3CB5
triadic
#523CB5 #B5523C #3CB552
tetradic
#523CB5 #B53C63 #9FB53C #3CB58E
square
#523CB5 #B53C63 #9FB53C #3CB58E
split-complementary
#523CB5 #B58E3C #63B53C
monochromatic
#281E59 #3D2D87 #523CB5 #7663CB #9E91DB

Accessibility & contrast

On white

7.86
#523CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#523CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CB5
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CB5#FFFFFF#000000##FFFFFF
##523CB51.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#275B73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523cb5;
/* rgb */ color: rgb(82, 60, 181);
/* oklch */ color: oklch(45.5% 0.182 284.9);
Tailwind
colors: {
  custom: {
    50: '#8c73cc',
    500: '#523cb5',
    950: '#000000',
  },
}
SCSS
$custom: #523cb5;
$custom-light: #8c73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#523cb5",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 250.909,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45518,
    "c": 0.18167,
    "h": 284.9
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#523CB5
secondary
#BAC687
accent
#DA4EC0
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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