#523E91#523E91

#523E91 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.0% C 0.131 H 290.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#523E91
RGBrgb(82, 62, 145)
HSLhsl(254, 40%, 41%)
HSVhsv(254, 57%, 57%)
CMYKcmyk(43.4%, 57.2%, 0%, 43.1%)
CIE-LABlab(32.44, 29.66, -43.12)
CIE-LCHlch(32.44, 52.34, 304.53°)
OKLaboklab(42.99% 0.047 -0.1227)
OKLCHoklch(42.99% 0.131 290.9)
XYZxyz(10.3117, 7.2831, 27.6450)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523E91 #7D913E
analogous
#3E5391 #523E91 #7B3E91
triadic
#523E91 #91523E #3E9152
tetradic
#523E91 #913E53 #7D913E #3E917B
square
#523E91 #913E53 #7D913E #3E917B
split-complementary
#523E91 #917B3E #53913E
monochromatic
#22193B #3A2C66 #523E91 #6D56B7 #9280C9

Accessibility & contrast

On white

8.55
#523E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#523E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523E91
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523E91#FFFFFF#000000##FFFFFF
##523E911.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E94
Deuteranopia (green-blind)
#164B8F
Tritanopia (blue-blind)
#405061
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #523e91;
/* rgb */ color: rgb(82, 62, 145);
/* oklch */ color: oklch(43.0% 0.131 290.9);
Tailwind
colors: {
  custom: {
    50: '#8774b2',
    500: '#523e91',
    950: '#000000',
  },
}
SCSS
$custom: #523e91;
$custom-light: #8774b2;
$custom-dark: #000000;
JSON
{
  "hex": "#523e91",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 254.458,
    "s": 40.097,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42994,
    "c": 0.13139,
    "h": 290.9
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#523E91
secondary
#A5B378
accent
#D058B3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #523E91

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

Preview Lab → · Contrast checker → · Palette generator →

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