#523AA8#523AA8

#523AA8 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.1% C 0.168 H 287.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#523AA8
RGBrgb(82, 58, 168)
HSLhsl(253, 49%, 44%)
HSVhsv(253, 65%, 66%)
CMYKcmyk(51.2%, 65.5%, 0%, 34.1%)
CIE-LABlab(33.24, 39.02, -55.77)
CIE-LCHlch(33.24, 68.07, 304.98°)
OKLaboklab(44.11% 0.0503 -0.1599)
OKLCHoklch(44.11% 0.168 287.5)
XYZxyz(12.0585, 7.6465, 37.8787)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AA8 #90A83A
analogous
#3A59A8 #523AA8 #893AA8
triadic
#523AA8 #A8523A #3AA852
tetradic
#523AA8 #A83A59 #90A83A #3AA889
square
#523AA8 #A83A59 #90A83A #3AA889
split-complementary
#523AA8 #A8893A #59A83A
monochromatic
#261B4D #3C2A7B #523AA8 #7159C6 #9887D6

Accessibility & contrast

On white

8.30
#523AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#523AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523AA8
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AA8#FFFFFF#000000##FFFFFF
##523AA81.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#33556C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #523aa8;
/* rgb */ color: rgb(82, 58, 168);
/* oklch */ color: oklch(44.1% 0.168 287.5);
Tailwind
colors: {
  custom: {
    50: '#8a72c3',
    500: '#523aa8',
    950: '#000000',
  },
}
SCSS
$custom: #523aa8;
$custom-light: #8a72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#523aa8",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 253.091,
    "s": 48.673,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44113,
    "c": 0.16766,
    "h": 287.5
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#523AA8
secondary
#B1C07E
accent
#D850BA
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #523AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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