#523EB4#523EB4

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

Color values

HEX#523EB4
RGBrgb(82, 62, 180)
HSLhsl(250, 49%, 47%)
HSVhsv(250, 66%, 71%)
CMYKcmyk(54.4%, 65.6%, 0%, 29.4%)
CIE-LABlab(35.07, 40.35, -59.93)
CIE-LCHlch(35.07, 72.25, 303.95°)
OKLaboklab(45.74% 0.045 -0.1721)
OKLCHoklch(45.74% 0.178 284.7)
XYZxyz(13.4380, 8.5336, 44.1102)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EB4 #A0B43E
analogous
#3E65B4 #523EB4 #8D3EB4
triadic
#523EB4 #B4523E #3EB452
tetradic
#523EB4 #B43E65 #A0B43E #3EB48D
square
#523EB4 #B43E65 #A0B43E #3EB48D
split-complementary
#523EB4 #B48D3E #65B43E
monochromatic
#291F59 #3D2E86 #523EB4 #7665CA #9F93DA

Accessibility & contrast

On white

7.76
#523EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#523EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523EB4
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EB4#FFFFFF#000000##FFFFFF
##523EB41.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#275B73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523eb4;
/* rgb */ color: rgb(82, 62, 180);
/* oklch */ color: oklch(45.7% 0.178 284.7);
Tailwind
colors: {
  custom: {
    50: '#8c75cb',
    500: '#523eb4',
    950: '#000000',
  },
}
SCSS
$custom: #523eb4;
$custom-light: #8c75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#523eb4",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 250.169,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45743,
    "c": 0.17794,
    "h": 284.7
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#523EB4
secondary
#BBC589
accent
#D84FC1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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