#523BB3#523BB3

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

Color values

HEX#523BB3
RGBrgb(82, 59, 179)
HSLhsl(252, 50%, 47%)
HSVhsv(252, 67%, 70%)
CMYKcmyk(54.2%, 67%, 0%, 29.8%)
CIE-LABlab(34.35, 41.78, -60.52)
CIE-LCHlch(34.35, 73.54, 304.62°)
OKLaboklab(45.2% 0.048 -0.1739)
OKLCHoklch(45.2% 0.18 285.4)
XYZxyz(13.1779, 8.1757, 43.5228)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BB3 #9CB33B
analogous
#3B60B3 #523BB3 #8E3BB3
triadic
#523BB3 #B3523B #3BB352
tetradic
#523BB3 #B33B60 #9CB33B #3BB38E
square
#523BB3 #B33B60 #9CB33B #3BB38E
split-complementary
#523BB3 #B38E3B #60B33B
monochromatic
#281D57 #3D2C85 #523BB3 #7560CB #9D8EDA

Accessibility & contrast

On white

7.97
#523BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#523BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BB3
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BB3#FFFFFF#000000##FFFFFF
##523BB31.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#295972
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523bb3;
/* rgb */ color: rgb(82, 59, 179);
/* oklch */ color: oklch(45.2% 0.180 285.4);
Tailwind
colors: {
  custom: {
    50: '#8c73cb',
    500: '#523bb3',
    950: '#000000',
  },
}
SCSS
$custom: #523bb3;
$custom-light: #8c73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#523bb3",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 251.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45195,
    "c": 0.18038,
    "h": 285.4
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#523BB3
secondary
#B9C585
accent
#DA4EBF
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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