#523CB3#523CB3

#523CB3 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.3% C 0.179 H 285.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#523CB3
RGBrgb(82, 60, 179)
HSLhsl(251, 50%, 47%)
HSVhsv(251, 66%, 70%)
CMYKcmyk(54.2%, 66.5%, 0%, 29.8%)
CIE-LABlab(34.56, 41.20, -60.18)
CIE-LCHlch(34.56, 72.93, 304.40°)
OKLaboklab(45.35% 0.047 -0.1729)
OKLCHoklch(45.35% 0.179 285.2)
XYZxyz(13.2298, 8.2795, 43.5401)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CB3 #9DB33C
analogous
#3C62B3 #523CB3 #8D3CB3
triadic
#523CB3 #B3523C #3CB352
tetradic
#523CB3 #B33C62 #9DB33C #3CB38D
square
#523CB3 #B33C62 #9DB33C #3CB38D
split-complementary
#523CB3 #B38D3C #62B33C
monochromatic
#281D57 #3D2D85 #523CB3 #7562CA #9D90DA

Accessibility & contrast

On white

7.91
#523CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#523CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CB3
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CB3#FFFFFF#000000##FFFFFF
##523CB31.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#295A72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523cb3;
/* rgb */ color: rgb(82, 60, 179);
/* oklch */ color: oklch(45.3% 0.179 285.2);
Tailwind
colors: {
  custom: {
    50: '#8c73cb',
    500: '#523cb3',
    950: '#000000',
  },
}
SCSS
$custom: #523cb3;
$custom-light: #8c73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#523cb3",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 251.092,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45348,
    "c": 0.17914,
    "h": 285.2
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #523CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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