#523CBB#523CBB

#523CBB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.0% C 0.189 H 284.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#523CBB
RGBrgb(82, 60, 187)
HSLhsl(250, 51%, 48%)
HSVhsv(250, 68%, 73%)
CMYKcmyk(56.1%, 67.9%, 0%, 26.7%)
CIE-LABlab(35.23, 43.64, -63.81)
CIE-LCHlch(35.23, 77.31, 304.37°)
OKLaboklab(46.04% 0.0459 -0.1835)
OKLCHoklch(46.04% 0.189 284)
XYZxyz(14.0624, 8.6126, 47.9255)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CBB #A5BB3C
analogous
#3C65BB #523CBB #913CBB
triadic
#523CBB #BB523C #3CBB52
tetradic
#523CBB #BB3C65 #A5BB3C #3CBB91
square
#523CBB #BB3C65 #A5BB3C #3CBB91
split-complementary
#523CBB #BB913C #65BB3C
monochromatic
#291E5E #3E2D8D #523CBB #7866CE #A195DD

Accessibility & contrast

On white

7.71
#523CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#523CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CBB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CBB#FFFFFF#000000##FFFFFF
##523CBB1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #523cbb;
/* rgb */ color: rgb(82, 60, 187);
/* oklch */ color: oklch(46.0% 0.189 284.0);
Tailwind
colors: {
  custom: {
    50: '#8d73d0',
    500: '#523cbb',
    950: '#000000',
  },
}
SCSS
$custom: #523cbb;
$custom-light: #8d73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#523cbb",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 250.394,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46037,
    "c": 0.18919,
    "h": 284
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#523CBB
secondary
#BEC88B
accent
#DB4DC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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