#523189#523189

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

Color values

HEX#523189
RGBrgb(82, 49, 137)
HSLhsl(263, 47%, 36%)
HSVhsv(263, 64%, 54%)
CMYKcmyk(40.1%, 64.2%, 0%, 46.3%)
CIE-LABlab(28.89, 35.17, -43.92)
CIE-LCHlch(28.89, 56.26, 308.69°)
OKLaboklab(40.21% 0.0634 -0.125)
OKLCHoklch(40.21% 0.14 296.9)
XYZxyz(9.0922, 5.7964, 24.3019)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523189 #688931
analogous
#313C89 #523189 #7E3189
triadic
#523189 #895231 #318952
tetradic
#523189 #89313C #688931 #31897E
square
#523189 #89313C #688931 #31897E
split-complementary
#523189 #897E31 #3C8931
monochromatic
#1C112F #37215C #523189 #6D41B6 #8E6BCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##523189#FFFFFF#000000##FFFFFF
##5231891.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)
#00448C
Deuteranopia (green-blind)
#014387
Tritanopia (blue-blind)
#454558
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #523189;
/* rgb */ color: rgb(82, 49, 137);
/* oklch */ color: oklch(40.2% 0.140 296.9);
Tailwind
colors: {
  custom: {
    50: '#876bac',
    500: '#523189',
    950: '#000000',
  },
}
SCSS
$custom: #523189;
$custom-light: #876bac;
$custom-dark: #000000;
JSON
{
  "hex": "#523189",
  "rgb": {
    "r": 82,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 262.5,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40212,
    "c": 0.1402,
    "h": 296.9
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#523189
secondary
#95B164
accent
#D751A5
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #523189

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

Preview Lab → · Contrast checker → · Palette generator →

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