#523BB1#523BB1

#523BB1 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.178 H 285.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#523BB1
RGBrgb(82, 59, 177)
HSLhsl(252, 50%, 46%)
HSVhsv(252, 67%, 69%)
CMYKcmyk(53.7%, 66.7%, 0%, 30.6%)
CIE-LABlab(34.18, 41.17, -59.61)
CIE-LCHlch(34.18, 72.44, 304.63°)
OKLaboklab(45.02% 0.0482 -0.1712)
OKLCHoklch(45.02% 0.178 285.7)
XYZxyz(12.9771, 8.0954, 42.4652)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BB1 #9AB13B
analogous
#3B5FB1 #523BB1 #8D3BB1
triadic
#523BB1 #B1523B #3BB152
tetradic
#523BB1 #B13B5F #9AB13B #3BB18D
square
#523BB1 #B13B5F #9AB13B #3BB18D
split-complementary
#523BB1 #B18D3B #5FB13B
monochromatic
#271C55 #3D2C83 #523BB1 #745FCA #9C8DD9

Accessibility & contrast

On white

8.02
#523BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#523BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BB1
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BB1#FFFFFF#000000##FFFFFF
##523BB11.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#2B5971
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #523bb1;
/* rgb */ color: rgb(82, 59, 177);
/* oklch */ color: oklch(45.0% 0.178 285.7);
Tailwind
colors: {
  custom: {
    50: '#8c72c9',
    500: '#523bb1',
    950: '#000000',
  },
}
SCSS
$custom: #523bb1;
$custom-light: #8c72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#523bb1",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 251.695,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45024,
    "c": 0.17785,
    "h": 285.7
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#523BB1
secondary
#B7C484
accent
#DA4EBE
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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