#523FA6#523FA6

#523FA6 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.8% C 0.158 H 286.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#523FA6
RGBrgb(82, 63, 166)
HSLhsl(251, 45%, 45%)
HSVhsv(251, 62%, 65%)
CMYKcmyk(50.6%, 62%, 0%, 34.9%)
CIE-LABlab(34.19, 35.44, -53.02)
CIE-LCHlch(34.19, 63.77, 303.76°)
OKLaboklab(44.76% 0.0453 -0.1518)
OKLCHoklch(44.76% 0.158 286.6)
XYZxyz(12.1381, 8.1014, 36.9932)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FA6 #93A63F
analogous
#3F60A6 #523FA6 #863FA6
triadic
#523FA6 #A6523F #3FA652
tetradic
#523FA6 #A63F60 #93A63F #3FA686
square
#523FA6 #A63F60 #93A63F #3FA686
split-complementary
#523FA6 #A6863F #60A63F
monochromatic
#261D4D #3C2E7A #523FA6 #7260C3 #998CD3

Accessibility & contrast

On white

8.01
#523FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523FA6
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FA6#FFFFFF#000000##FFFFFF
##523FA61.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#34576C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523fa6;
/* rgb */ color: rgb(82, 63, 166);
/* oklch */ color: oklch(44.8% 0.158 286.6);
Tailwind
colors: {
  custom: {
    50: '#8a75c1',
    500: '#523fa6',
    950: '#000000',
  },
}
SCSS
$custom: #523fa6;
$custom-light: #8a75c1;
$custom-dark: #000000;
JSON
{
  "hex": "#523fa6",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 251.068,
    "s": 44.978,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44761,
    "c": 0.15841,
    "h": 286.6
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#523FA6
secondary
#B3BE83
accent
#D553BD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #523FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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