#523CA8#523CA8

#523CA8 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.4% C 0.165 H 287.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#523CA8
RGBrgb(82, 60, 168)
HSLhsl(252, 47%, 45%)
HSVhsv(252, 64%, 66%)
CMYKcmyk(51.2%, 64.3%, 0%, 34.1%)
CIE-LABlab(33.67, 37.84, -55.06)
CIE-LCHlch(33.67, 66.81, 304.50°)
OKLaboklab(44.43% 0.0483 -0.1578)
OKLCHoklch(44.43% 0.165 287)
XYZxyz(12.1613, 7.8521, 37.9130)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CA8 #92A83C
analogous
#3C5CA8 #523CA8 #883CA8
triadic
#523CA8 #A8523C #3CA852
tetradic
#523CA8 #A83C5C #92A83C #3CA888
square
#523CA8 #A83C5C #92A83C #3CA888
split-complementary
#523CA8 #A8883C #5CA83C
monochromatic
#261C4E #3C2C7B #523CA8 #725CC5 #9989D5

Accessibility & contrast

On white

8.17
#523CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#523CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CA8
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CA8#FFFFFF#000000##FFFFFF
##523CA81.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#32566C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #523ca8;
/* rgb */ color: rgb(82, 60, 168);
/* oklch */ color: oklch(44.4% 0.165 287.0);
Tailwind
colors: {
  custom: {
    50: '#8a73c3',
    500: '#523ca8',
    950: '#000000',
  },
}
SCSS
$custom: #523ca8;
$custom-light: #8a73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#523ca8",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 252.222,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4443,
    "c": 0.16505,
    "h": 287
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#523CA8
secondary
#B3BF80
accent
#D751BC
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #523CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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