#523F92#523F92

#523F92 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.2% C 0.131 H 290.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#523F92
RGBrgb(82, 63, 146)
HSLhsl(254, 40%, 41%)
HSVhsv(254, 57%, 57%)
CMYKcmyk(43.8%, 56.8%, 0%, 42.7%)
CIE-LABlab(32.75, 29.34, -43.23)
CIE-LCHlch(32.75, 52.25, 304.17°)
OKLaboklab(43.25% 0.0457 -0.123)
OKLCHoklch(43.25% 0.131 290.4)
XYZxyz(10.4440, 7.4238, 28.0712)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523F92 #7F923F
analogous
#3F5592 #523F92 #7B3F92
triadic
#523F92 #92523F #3F9252
tetradic
#523F92 #923F55 #7F923F #3F927B
square
#523F92 #923F55 #7F923F #3F927B
split-complementary
#523F92 #927B3F #55923F
monochromatic
#221A3C #3A2D67 #523F92 #6D57B7 #9282C9

Accessibility & contrast

On white

8.45
#523F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#523F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523F92
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523F92#FFFFFF#000000##FFFFFF
##523F921.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134F95
Deuteranopia (green-blind)
#164B90
Tritanopia (blue-blind)
#405162
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #523f92;
/* rgb */ color: rgb(82, 63, 146);
/* oklch */ color: oklch(43.2% 0.131 290.4);
Tailwind
colors: {
  custom: {
    50: '#8774b2',
    500: '#523f92',
    950: '#000000',
  },
}
SCSS
$custom: #523f92;
$custom-light: #8774b2;
$custom-dark: #000000;
JSON
{
  "hex": "#523f92",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 146
  },
  "hsl": {
    "h": 253.735,
    "s": 39.713,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43245,
    "c": 0.13125,
    "h": 290.4
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #523F92

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

Preview Lab → · Contrast checker → · Palette generator →

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