#523DAF#523DAF

#523DAF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.173 H 285.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#523DAF
RGBrgb(82, 61, 175)
HSLhsl(251, 48%, 46%)
HSVhsv(251, 65%, 69%)
CMYKcmyk(53.1%, 65.1%, 0%, 31.4%)
CIE-LABlab(34.45, 39.40, -57.98)
CIE-LCHlch(34.45, 70.10, 304.20°)
OKLaboklab(45.17% 0.0465 -0.1664)
OKLCHoklch(45.17% 0.173 285.6)
XYZxyz(12.8840, 8.2258, 41.4580)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523DAF #9AAF3D
analogous
#3D61AF #523DAF #8B3DAF
triadic
#523DAF #AF523D #3DAF52
tetradic
#523DAF #AF3D61 #9AAF3D #3DAF8B
square
#523DAF #AF3D61 #9AAF3D #3DAF8B
split-complementary
#523DAF #AF8B3D #61AF3D
monochromatic
#271D54 #3D2D82 #523DAF #7461C8 #9C8FD8

Accessibility & contrast

On white

7.94
#523DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523DAF
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523DAF#FFFFFF#000000##FFFFFF
##523DAF1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#2D5970
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523daf;
/* rgb */ color: rgb(82, 61, 175);
/* oklch */ color: oklch(45.2% 0.173 285.6);
Tailwind
colors: {
  custom: {
    50: '#8b74c8',
    500: '#523daf',
    950: '#000000',
  },
}
SCSS
$custom: #523daf;
$custom-light: #8b74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#523daf",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 251.053,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45167,
    "c": 0.17279,
    "h": 285.6
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#523DAF
secondary
#B7C385
accent
#D850BF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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