#523DB5#523DB5

#523DB5 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.7% C 0.180 H 284.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#523DB5
RGBrgb(82, 61, 181)
HSLhsl(251, 50%, 47%)
HSVhsv(251, 66%, 71%)
CMYKcmyk(54.7%, 66.3%, 0%, 29%)
CIE-LABlab(34.94, 41.23, -60.74)
CIE-LCHlch(34.94, 73.42, 304.17°)
OKLaboklab(45.67% 0.0458 -0.1745)
OKLCHoklch(45.67% 0.18 284.7)
XYZxyz(13.4864, 8.4668, 44.6307)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523DB5 #A0B53D
analogous
#3D64B5 #523DB5 #8E3DB5
triadic
#523DB5 #B5523D #3DB552
tetradic
#523DB5 #B53D64 #A0B53D #3DB58E
square
#523DB5 #B53D64 #A0B53D #3DB58E
split-complementary
#523DB5 #B58E3D #64B53D
monochromatic
#291E59 #3D2E87 #523DB5 #7664CB #9F92DA

Accessibility & contrast

On white

7.80
#523DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#523DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523DB5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523DB5#FFFFFF#000000##FFFFFF
##523DB51.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#265B74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523db5;
/* rgb */ color: rgb(82, 61, 181);
/* oklch */ color: oklch(45.7% 0.180 284.7);
Tailwind
colors: {
  custom: {
    50: '#8c74cc',
    500: '#523db5',
    950: '#000000',
  },
}
SCSS
$custom: #523db5;
$custom-light: #8c74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#523db5",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 250.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45672,
    "c": 0.18045,
    "h": 284.7
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#523DB5
secondary
#BBC588
accent
#D94FC1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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