#523BB6#523BB6

#523BB6 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.184 H 285.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#523BB6
RGBrgb(82, 59, 182)
HSLhsl(251, 51%, 47%)
HSVhsv(251, 68%, 71%)
CMYKcmyk(54.9%, 67.6%, 0%, 28.6%)
CIE-LABlab(34.60, 42.69, -61.89)
CIE-LCHlch(34.60, 75.19, 304.59°)
OKLaboklab(45.45% 0.0476 -0.1779)
OKLCHoklch(45.45% 0.184 285)
XYZxyz(13.4846, 8.2984, 45.1381)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BB6 #9FB63B
analogous
#3B61B6 #523BB6 #903BB6
triadic
#523BB6 #B6523B #3BB652
tetradic
#523BB6 #B63B61 #9FB63B #3BB690
square
#523BB6 #B63B61 #9FB63B #3BB690
split-complementary
#523BB6 #B6903B #61B63B
monochromatic
#281D5A #3D2C88 #523BB6 #7662CC #9E90DB

Accessibility & contrast

On white

7.90
#523BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#523BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BB6
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BB6#FFFFFF#000000##FFFFFF
##523BB61.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#265A73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523bb6;
/* rgb */ color: rgb(82, 59, 182);
/* oklch */ color: oklch(45.5% 0.184 285.0);
Tailwind
colors: {
  custom: {
    50: '#8c73cd',
    500: '#523bb6',
    950: '#000000',
  },
}
SCSS
$custom: #523bb6;
$custom-light: #8c73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#523bb6",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 251.22,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45453,
    "c": 0.18415,
    "h": 285
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#523BB6
secondary
#BAC687
accent
#DB4DC0
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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