#523CB6#523CB6

#523CB6 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.6% C 0.183 H 284.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#523CB6
RGBrgb(82, 60, 182)
HSLhsl(251, 50%, 47%)
HSVhsv(251, 67%, 71%)
CMYKcmyk(54.9%, 67%, 0%, 28.6%)
CIE-LABlab(34.81, 42.12, -61.55)
CIE-LCHlch(34.81, 74.58, 304.38°)
OKLaboklab(45.6% 0.0466 -0.1769)
OKLCHoklch(45.6% 0.183 284.8)
XYZxyz(13.5365, 8.4022, 45.1554)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CB6 #A0B63C
analogous
#3C63B6 #523CB6 #8F3CB6
triadic
#523CB6 #B6523C #3CB652
tetradic
#523CB6 #B63C63 #A0B63C #3CB68F
square
#523CB6 #B63C63 #A0B63C #3CB68F
split-complementary
#523CB6 #B68F3C #63B63C
monochromatic
#291E5A #3D2D88 #523CB6 #7663CC #9F91DB

Accessibility & contrast

On white

7.83
#523CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#523CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CB6
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CB6#FFFFFF#000000##FFFFFF
##523CB61.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#255B74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523cb6;
/* rgb */ color: rgb(82, 60, 182);
/* oklch */ color: oklch(45.6% 0.183 284.8);
Tailwind
colors: {
  custom: {
    50: '#8c73cd',
    500: '#523cb6',
    950: '#000000',
  },
}
SCSS
$custom: #523cb6;
$custom-light: #8c73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#523cb6",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 250.82,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.18293,
    "h": 284.8
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#523CB6
secondary
#BBC688
accent
#DA4EC1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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