#523E92#523E92

#523E92 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.1% C 0.133 H 290.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#523E92
RGBrgb(82, 62, 146)
HSLhsl(254, 40%, 41%)
HSVhsv(254, 58%, 57%)
CMYKcmyk(43.8%, 57.5%, 0%, 42.7%)
CIE-LABlab(32.51, 29.96, -43.62)
CIE-LCHlch(32.51, 52.92, 304.49°)
OKLaboklab(43.07% 0.047 -0.1242)
OKLCHoklch(43.07% 0.133 290.7)
XYZxyz(10.3892, 7.3141, 28.0529)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523E92 #7E923E
analogous
#3E5492 #523E92 #7C3E92
triadic
#523E92 #92523E #3E9252
tetradic
#523E92 #923E54 #7E923E #3E927C
square
#523E92 #923E54 #7E923E #3E927C
split-complementary
#523E92 #927C3E #54923E
monochromatic
#221A3C #3A2C67 #523E92 #6D56B7 #9281C9

Accessibility & contrast

On white

8.53
#523E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523E92
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523E92#FFFFFF#000000##FFFFFF
##523E921.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E95
Deuteranopia (green-blind)
#144B90
Tritanopia (blue-blind)
#405062
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #523e92;
/* rgb */ color: rgb(82, 62, 146);
/* oklch */ color: oklch(43.1% 0.133 290.7);
Tailwind
colors: {
  custom: {
    50: '#8774b2',
    500: '#523e92',
    950: '#000000',
  },
}
SCSS
$custom: #523e92;
$custom-light: #8774b2;
$custom-dark: #000000;
JSON
{
  "hex": "#523e92",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 146
  },
  "hsl": {
    "h": 254.286,
    "s": 40.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43066,
    "c": 0.13277,
    "h": 290.7
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#523E92
secondary
#A5B478
accent
#D058B4
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #523E92

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

Preview Lab → · Contrast checker → · Palette generator →

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