#523BBB#523BBB

#523BBB is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.190 H 284.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#523BBB
RGBrgb(82, 59, 187)
HSLhsl(251, 52%, 48%)
HSVhsv(251, 68%, 73%)
CMYKcmyk(56.1%, 68.4%, 0%, 26.7%)
CIE-LABlab(35.02, 44.21, -64.15)
CIE-LCHlch(35.02, 77.91, 304.57°)
OKLaboklab(45.89% 0.0468 -0.1845)
OKLCHoklch(45.89% 0.19 284.2)
XYZxyz(14.0105, 8.5088, 47.9082)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BBB #A4BB3B
analogous
#3B64BB #523BBB #923BBB
triadic
#523BBB #BB523B #3BBB52
tetradic
#523BBB #BB3B64 #A4BB3B #3BBB92
square
#523BBB #BB3B64 #A4BB3B #3BBB92
split-complementary
#523BBB #BB923B #64BB3B
monochromatic
#291E5E #3E2C8C #523BBB #7865CE #A193DD

Accessibility & contrast

On white

7.77
#523BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#523BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BBB
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BBB#FFFFFF#000000##FFFFFF
##523BBB1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#1F5C76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523bbb;
/* rgb */ color: rgb(82, 59, 187);
/* oklch */ color: oklch(45.9% 0.190 284.2);
Tailwind
colors: {
  custom: {
    50: '#8d73d0',
    500: '#523bbb',
    950: '#000000',
  },
}
SCSS
$custom: #523bbb;
$custom-light: #8d73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#523bbb",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 250.781,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45889,
    "c": 0.19037,
    "h": 284.2
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#523BBB
secondary
#BDC88A
accent
#DB4CC2
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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