#523BB0#523BB0

#523BB0 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.9% C 0.177 H 285.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#523BB0
RGBrgb(82, 59, 176)
HSLhsl(252, 50%, 46%)
HSVhsv(252, 66%, 69%)
CMYKcmyk(53.4%, 66.5%, 0%, 31%)
CIE-LABlab(34.10, 40.86, -59.14)
CIE-LCHlch(34.10, 71.89, 304.64°)
OKLaboklab(44.94% 0.0484 -0.1698)
OKLCHoklch(44.94% 0.177 285.9)
XYZxyz(12.8778, 8.0557, 41.9422)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BB0 #99B03B
analogous
#3B5EB0 #523BB0 #8C3BB0
triadic
#523BB0 #B0523B #3BB052
tetradic
#523BB0 #B03B5E #99B03B #3BB08C
square
#523BB0 #B03B5E #99B03B #3BB08C
split-complementary
#523BB0 #B08C3B #5EB03B
monochromatic
#271C54 #3D2C82 #523BB0 #745FC9 #9C8DD9

Accessibility & contrast

On white

8.04
#523BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#523BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BB0
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BB0#FFFFFF#000000##FFFFFF
##523BB01.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#2C5870
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523bb0;
/* rgb */ color: rgb(82, 59, 176);
/* oklch */ color: oklch(44.9% 0.177 285.9);
Tailwind
colors: {
  custom: {
    50: '#8b72c8',
    500: '#523bb0',
    950: '#000000',
  },
}
SCSS
$custom: #523bb0;
$custom-light: #8b72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#523bb0",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 251.795,
    "s": 49.787,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44939,
    "c": 0.17658,
    "h": 285.9
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#523BB0
secondary
#B7C383
accent
#D94EBE
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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