#523DBB#523DBB

#523DBB is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.2% C 0.188 H 283.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#523DBB
RGBrgb(82, 61, 187)
HSLhsl(250, 51%, 49%)
HSVhsv(250, 67%, 73%)
CMYKcmyk(56.1%, 67.4%, 0%, 26.7%)
CIE-LABlab(35.44, 43.07, -63.47)
CIE-LCHlch(35.44, 76.71, 304.16°)
OKLaboklab(46.19% 0.045 -0.1825)
OKLCHoklch(46.19% 0.188 283.9)
XYZxyz(14.1153, 8.7183, 47.9431)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523DBB #A6BB3D
analogous
#3D67BB #523DBB #913DBB
triadic
#523DBB #BB523D #3DBB52
tetradic
#523DBB #BB3D67 #A6BB3D #3DBB91
square
#523DBB #BB3D67 #A6BB3D #3DBB91
split-complementary
#523DBB #BB913D #67BB3D
monochromatic
#2A1F5F #3E2E8D #523DBB #7968CE #A296DD

Accessibility & contrast

On white

7.65
#523DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#523DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523DBB
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523DBB#FFFFFF#000000##FFFFFF
##523DBB1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#1F5D77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523dbb;
/* rgb */ color: rgb(82, 61, 187);
/* oklch */ color: oklch(46.2% 0.188 283.9);
Tailwind
colors: {
  custom: {
    50: '#8d74d0',
    500: '#523dbb',
    950: '#000000',
  },
}
SCSS
$custom: #523dbb;
$custom-light: #8d74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#523dbb",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 250,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46187,
    "c": 0.188,
    "h": 283.9
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#523DBB
secondary
#BEC88C
accent
#DA4EC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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