#523BB4#523BB4

#523BB4 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.3% C 0.182 H 285.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#523BB4
RGBrgb(82, 59, 180)
HSLhsl(251, 51%, 47%)
HSVhsv(251, 67%, 71%)
CMYKcmyk(54.4%, 67.2%, 0%, 29.4%)
CIE-LABlab(34.43, 42.08, -60.98)
CIE-LCHlch(34.43, 74.09, 304.61°)
OKLaboklab(45.28% 0.0478 -0.1752)
OKLCHoklch(45.28% 0.182 285.3)
XYZxyz(13.2794, 8.2163, 44.0573)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BB4 #9DB43B
analogous
#3B61B4 #523BB4 #8F3BB4
triadic
#523BB4 #B4523B #3BB452
tetradic
#523BB4 #B43B61 #9DB43B #3BB48F
square
#523BB4 #B43B61 #9DB43B #3BB48F
split-complementary
#523BB4 #B48F3B #61B43B
monochromatic
#281D58 #3D2C86 #523BB4 #7561CB #9D8FDA

Accessibility & contrast

On white

7.94
#523BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523BB4
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BB4#FFFFFF#000000##FFFFFF
##523BB41.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#285A72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523bb4;
/* rgb */ color: rgb(82, 59, 180);
/* oklch */ color: oklch(45.3% 0.182 285.3);
Tailwind
colors: {
  custom: {
    50: '#8c73cb',
    500: '#523bb4',
    950: '#000000',
  },
}
SCSS
$custom: #523bb4;
$custom-light: #8c73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#523bb4",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 251.405,
    "s": 50.628,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45281,
    "c": 0.18163,
    "h": 285.3
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #523BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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