#523480#523480

#523480 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.0% C 0.124 H 298.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#523480
RGBrgb(82, 52, 128)
HSLhsl(264, 42%, 35%)
HSVhsv(264, 59%, 50%)
CMYKcmyk(35.9%, 59.4%, 0%, 49.8%)
CIE-LABlab(28.92, 30.86, -38.26)
CIE-LCHlch(28.92, 49.15, 308.89°)
OKLaboklab(40.03% 0.0599 -0.1084)
OKLCHoklch(40.03% 0.124 298.9)
XYZxyz(8.6030, 5.8082, 21.0857)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523480 #628034
analogous
#343C80 #523480 #783480
triadic
#523480 #805234 #348052
tetradic
#523480 #80343C #628034 #348078
square
#523480 #80343C #628034 #348078
split-complementary
#523480 #807834 #3C8034
monochromatic
#1A1129 #362254 #523480 #6E46AC #8E6BC3

Accessibility & contrast

On white

9.72
#523480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#523480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523480
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523480#FFFFFF#000000##FFFFFF
##5234801.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4483
Deuteranopia (green-blind)
#1C437E
Tritanopia (blue-blind)
#484454
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #523480;
/* rgb */ color: rgb(82, 52, 128);
/* oklch */ color: oklch(40.0% 0.124 298.9);
Tailwind
colors: {
  custom: {
    50: '#866da5',
    500: '#523480',
    950: '#000000',
  },
}
SCSS
$custom: #523480;
$custom-light: #866da5;
$custom-dark: #000000;
JSON
{
  "hex": "#523480",
  "rgb": {
    "r": 82,
    "g": 52,
    "b": 128
  },
  "hsl": {
    "h": 263.684,
    "s": 42.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40031,
    "c": 0.12386,
    "h": 298.9
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#523480
secondary
#8FAB65
accent
#D256A1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #523480

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

Preview Lab → · Contrast checker → · Palette generator →

#523480 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva