#523BB2#523BB2

#523BB2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.1% C 0.179 H 285.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#523BB2
RGBrgb(82, 59, 178)
HSLhsl(252, 50%, 46%)
HSVhsv(252, 67%, 70%)
CMYKcmyk(53.9%, 66.9%, 0%, 30.2%)
CIE-LABlab(34.26, 41.47, -60.06)
CIE-LCHlch(34.26, 72.99, 304.62°)
OKLaboklab(45.11% 0.0481 -0.1725)
OKLCHoklch(45.11% 0.179 285.6)
XYZxyz(13.0771, 8.1354, 42.9921)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BB2 #9BB23B
analogous
#3B60B2 #523BB2 #8E3BB2
triadic
#523BB2 #B2523B #3BB252
tetradic
#523BB2 #B23B60 #9BB23B #3BB28E
square
#523BB2 #B23B60 #9BB23B #3BB28E
split-complementary
#523BB2 #B28E3B #60B23B
monochromatic
#281D56 #3D2C84 #523BB2 #7460CA #9D8EDA

Accessibility & contrast

On white

7.99
#523BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#523BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BB2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BB2#FFFFFF#000000##FFFFFF
##523BB21.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#2A5971
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523bb2;
/* rgb */ color: rgb(82, 59, 178);
/* oklch */ color: oklch(45.1% 0.179 285.6);
Tailwind
colors: {
  custom: {
    50: '#8c72ca',
    500: '#523bb2',
    950: '#000000',
  },
}
SCSS
$custom: #523bb2;
$custom-light: #8c72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#523bb2",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 251.597,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45109,
    "c": 0.17911,
    "h": 285.6
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

primary
#523BB2
secondary
#B8C485
accent
#DA4EBF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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