#523BB5#523BB5

#523BB5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.183 H 285.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#523BB5
RGBrgb(82, 59, 181)
HSLhsl(251, 51%, 47%)
HSVhsv(251, 67%, 71%)
CMYKcmyk(54.7%, 67.4%, 0%, 29%)
CIE-LABlab(34.51, 42.38, -61.44)
CIE-LCHlch(34.51, 74.64, 304.60°)
OKLaboklab(45.37% 0.0477 -0.1766)
OKLCHoklch(45.37% 0.183 285.1)
XYZxyz(13.3816, 8.2572, 44.5958)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BB5 #9EB53B
analogous
#3B61B5 #523BB5 #8F3BB5
triadic
#523BB5 #B5523B #3BB552
tetradic
#523BB5 #B53B61 #9EB53B #3BB58F
square
#523BB5 #B53B61 #9EB53B #3BB58F
split-complementary
#523BB5 #B58F3B #61B53B
monochromatic
#281D59 #3D2C87 #523BB5 #7662CC #9E90DB

Accessibility & contrast

On white

7.92
#523BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523BB5
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BB5#FFFFFF#000000##FFFFFF
##523BB51.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#275A73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523bb5;
/* rgb */ color: rgb(82, 59, 181);
/* oklch */ color: oklch(45.4% 0.183 285.1);
Tailwind
colors: {
  custom: {
    50: '#8c73cc',
    500: '#523bb5',
    950: '#000000',
  },
}
SCSS
$custom: #523bb5;
$custom-light: #8c73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#523bb5",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 251.311,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45367,
    "c": 0.18289,
    "h": 285.1
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

primary
#523BB5
secondary
#BAC686
accent
#DA4DC0
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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