#523CB0#523CB0

#523CB0 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.1% C 0.175 H 285.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#523CB0
RGBrgb(82, 60, 176)
HSLhsl(251, 49%, 46%)
HSVhsv(251, 66%, 69%)
CMYKcmyk(53.4%, 65.9%, 0%, 31%)
CIE-LABlab(34.31, 40.28, -58.80)
CIE-LCHlch(34.31, 71.27, 304.42°)
OKLaboklab(45.09% 0.0474 -0.1688)
OKLCHoklch(45.09% 0.175 285.7)
XYZxyz(12.9297, 8.1595, 41.9595)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CB0 #9AB03C
analogous
#3C60B0 #523CB0 #8C3CB0
triadic
#523CB0 #B0523C #3CB052
tetradic
#523CB0 #B03C60 #9AB03C #3CB08C
square
#523CB0 #B03C60 #9AB03C #3CB08C
split-complementary
#523CB0 #B08C3C #60B03C
monochromatic
#271D55 #3D2C82 #523CB0 #7460C9 #9C8ED8

Accessibility & contrast

On white

7.98
#523CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#523CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CB0
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CB0#FFFFFF#000000##FFFFFF
##523CB01.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#2C5971
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523cb0;
/* rgb */ color: rgb(82, 60, 176);
/* oklch */ color: oklch(45.1% 0.175 285.7);
Tailwind
colors: {
  custom: {
    50: '#8b73c8',
    500: '#523cb0',
    950: '#000000',
  },
}
SCSS
$custom: #523cb0;
$custom-light: #8b73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#523cb0",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 251.379,
    "s": 49.153,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45094,
    "c": 0.17533,
    "h": 285.7
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #523CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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