#523BB9#523BB9

#523BB9 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.188 H 284.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#523BB9
RGBrgb(82, 59, 185)
HSLhsl(251, 52%, 48%)
HSVhsv(251, 68%, 73%)
CMYKcmyk(55.7%, 68.1%, 0%, 27.5%)
CIE-LABlab(34.85, 43.60, -63.25)
CIE-LCHlch(34.85, 76.82, 304.58°)
OKLaboklab(45.71% 0.0471 -0.1819)
OKLCHoklch(45.71% 0.188 284.5)
XYZxyz(13.7979, 8.4237, 46.7884)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BB9 #A2B93B
analogous
#3B63B9 #523BB9 #913BB9
triadic
#523BB9 #B9523B #3BB952
tetradic
#523BB9 #B93B63 #A2B93B #3BB991
square
#523BB9 #B93B63 #A2B93B #3BB991
split-complementary
#523BB9 #B9913B #63B93B
monochromatic
#291D5C #3D2C8B #523BB9 #7764CD #A092DC

Accessibility & contrast

On white

7.82
#523BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523BB9
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BB9#FFFFFF#000000##FFFFFF
##523BB91.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#225B75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523bb9;
/* rgb */ color: rgb(82, 59, 185);
/* oklch */ color: oklch(45.7% 0.188 284.5);
Tailwind
colors: {
  custom: {
    50: '#8d73cf',
    500: '#523bb9',
    950: '#000000',
  },
}
SCSS
$custom: #523bb9;
$custom-light: #8d73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#523bb9",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 250.952,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45714,
    "c": 0.18788,
    "h": 284.5
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#523BB9
secondary
#BCC788
accent
#DB4DC1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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