#523CB1#523CB1

#523CB1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.177 H 285.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#523CB1
RGBrgb(82, 60, 177)
HSLhsl(251, 49%, 46%)
HSVhsv(251, 66%, 69%)
CMYKcmyk(53.7%, 66.1%, 0%, 30.6%)
CIE-LABlab(34.39, 40.59, -59.26)
CIE-LCHlch(34.39, 71.83, 304.41°)
OKLaboklab(45.18% 0.0473 -0.1702)
OKLCHoklch(45.18% 0.177 285.5)
XYZxyz(13.0290, 8.1992, 42.4825)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CB1 #9BB13C
analogous
#3C61B1 #523CB1 #8D3CB1
triadic
#523CB1 #B1523C #3CB152
tetradic
#523CB1 #B13C61 #9BB13C #3CB18D
square
#523CB1 #B13C61 #9BB13C #3CB18D
split-complementary
#523CB1 #B18D3C #61B13C
monochromatic
#281D56 #3D2D83 #523CB1 #7461C9 #9D8FD9

Accessibility & contrast

On white

7.95
#523CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#523CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CB1
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CB1#FFFFFF#000000##FFFFFF
##523CB11.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#2B5971
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523cb1;
/* rgb */ color: rgb(82, 60, 177);
/* oklch */ color: oklch(45.2% 0.177 285.5);
Tailwind
colors: {
  custom: {
    50: '#8c73c9',
    500: '#523cb1',
    950: '#000000',
  },
}
SCSS
$custom: #523cb1;
$custom-light: #8c73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#523cb1",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 251.282,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45178,
    "c": 0.17661,
    "h": 285.5
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#523CB1
secondary
#B8C485
accent
#D94FBF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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