#523EB3#523EB3

#523EB3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.7% C 0.177 H 284.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#523EB3
RGBrgb(82, 62, 179)
HSLhsl(250, 49%, 47%)
HSVhsv(250, 65%, 70%)
CMYKcmyk(54.2%, 65.4%, 0%, 29.8%)
CIE-LABlab(34.99, 40.04, -59.47)
CIE-LCHlch(34.99, 71.70, 303.95°)
OKLaboklab(45.66% 0.0451 -0.1708)
OKLCHoklch(45.66% 0.177 284.8)
XYZxyz(13.3365, 8.4930, 43.5757)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EB3 #9FB33E
analogous
#3E65B3 #523EB3 #8C3EB3
triadic
#523EB3 #B3523E #3EB352
tetradic
#523EB3 #B33E65 #9FB33E #3EB38C
square
#523EB3 #B33E65 #9FB33E #3EB38C
split-complementary
#523EB3 #B38C3E #65B33E
monochromatic
#281F58 #3D2E86 #523EB3 #7665CA #9E92D9

Accessibility & contrast

On white

7.78
#523EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#523EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523EB3
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EB3#FFFFFF#000000##FFFFFF
##523EB31.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#285B73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523eb3;
/* rgb */ color: rgb(82, 62, 179);
/* oklch */ color: oklch(45.7% 0.177 284.8);
Tailwind
colors: {
  custom: {
    50: '#8c74cb',
    500: '#523eb3',
    950: '#000000',
  },
}
SCSS
$custom: #523eb3;
$custom-light: #8c74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#523eb3",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 250.256,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45659,
    "c": 0.17666,
    "h": 284.8
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#523EB3
secondary
#BAC588
accent
#D850C1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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