#523FAA#523FAA

#523FAA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.1% C 0.164 H 285.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#523FAA
RGBrgb(82, 63, 170)
HSLhsl(251, 46%, 46%)
HSVhsv(251, 63%, 67%)
CMYKcmyk(51.8%, 62.9%, 0%, 33.3%)
CIE-LABlab(34.50, 36.67, -54.91)
CIE-LCHlch(34.50, 66.03, 303.74°)
OKLaboklab(45.08% 0.045 -0.1574)
OKLCHoklch(45.08% 0.164 285.9)
XYZxyz(12.5107, 8.2505, 38.9557)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FAA #97AA3F
analogous
#3F61AA #523FAA #873FAA
triadic
#523FAA #AA523F #3FAA52
tetradic
#523FAA #AA3F61 #97AA3F #3FAA87
square
#523FAA #AA3F61 #97AA3F #3FAA87
split-complementary
#523FAA #AA873F #61AA3F
monochromatic
#271E51 #3C2E7D #523FAA #7362C5 #9B8ED5

Accessibility & contrast

On white

7.92
#523FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#523FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FAA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FAA#FFFFFF#000000##FFFFFF
##523FAA1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#31596E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523faa;
/* rgb */ color: rgb(82, 63, 170);
/* oklch */ color: oklch(45.1% 0.164 285.9);
Tailwind
colors: {
  custom: {
    50: '#8a75c4',
    500: '#523faa',
    950: '#000000',
  },
}
SCSS
$custom: #523faa;
$custom-light: #8a75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#523faa",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 250.654,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4508,
    "c": 0.16369,
    "h": 285.9
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#523FAA
secondary
#B6C085
accent
#D652BE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #523FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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