#523CAF#523CAF

#523CAF is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.174 H 285.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#523CAF
RGBrgb(82, 60, 175)
HSLhsl(251, 49%, 46%)
HSVhsv(251, 66%, 69%)
CMYKcmyk(53.1%, 65.7%, 0%, 31.4%)
CIE-LABlab(34.23, 39.98, -58.33)
CIE-LCHlch(34.23, 70.72, 304.43°)
OKLaboklab(45.01% 0.0475 -0.1674)
OKLCHoklch(45.01% 0.174 285.8)
XYZxyz(12.8311, 8.1200, 41.4403)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CAF #99AF3C
analogous
#3C5FAF #523CAF #8B3CAF
triadic
#523CAF #AF523C #3CAF52
tetradic
#523CAF #AF3C5F #99AF3C #3CAF8B
square
#523CAF #AF3C5F #99AF3C #3CAF8B
split-complementary
#523CAF #AF8B3C #5FAF3C
monochromatic
#271D54 #3D2C81 #523CAF #7460C8 #9C8DD8

Accessibility & contrast

On white

8.00
#523CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#523CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CAF
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CAF#FFFFFF#000000##FFFFFF
##523CAF1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#2D5870
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523caf;
/* rgb */ color: rgb(82, 60, 175);
/* oklch */ color: oklch(45.0% 0.174 285.8);
Tailwind
colors: {
  custom: {
    50: '#8b73c8',
    500: '#523caf',
    950: '#000000',
  },
}
SCSS
$custom: #523caf;
$custom-light: #8b73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#523caf",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 251.478,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4501,
    "c": 0.17406,
    "h": 285.8
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#523CAF
secondary
#B7C384
accent
#D84FBE
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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