#523AAA#523AAA

#523AAA is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.3% C 0.170 H 287.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#523AAA
RGBrgb(82, 58, 170)
HSLhsl(253, 49%, 45%)
HSVhsv(253, 66%, 67%)
CMYKcmyk(51.8%, 65.9%, 0%, 33.3%)
CIE-LABlab(33.40, 39.62, -56.71)
CIE-LCHlch(33.40, 69.18, 304.94°)
OKLaboklab(44.28% 0.0501 -0.1627)
OKLCHoklch(44.28% 0.17 287.1)
XYZxyz(12.2463, 7.7216, 38.8676)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AAA #92AA3A
analogous
#3A5AAA #523AAA #8A3AAA
triadic
#523AAA #AA523A #3AAA52
tetradic
#523AAA #AA3A5A #92AA3A #3AAA8A
square
#523AAA #AA3A5A #92AA3A #3AAA8A
split-complementary
#523AAA #AA8A3A #5AAA3A
monochromatic
#261B4F #3C2A7C #523AAA #725AC7 #9988D6

Accessibility & contrast

On white

8.25
#523AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#523AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523AAA
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AAA#FFFFFF#000000##FFFFFF
##523AAA1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#31566D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #523aaa;
/* rgb */ color: rgb(82, 58, 170);
/* oklch */ color: oklch(44.3% 0.170 287.1);
Tailwind
colors: {
  custom: {
    50: '#8b72c4',
    500: '#523aaa',
    950: '#000000',
  },
}
SCSS
$custom: #523aaa;
$custom-light: #8b72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#523aaa",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 252.857,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4428,
    "c": 0.17021,
    "h": 287.1
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#523AAA
secondary
#B3C17F
accent
#D94FBB
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #523AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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