#523B91#523B91

#523B91 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.5% C 0.136 H 291.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#523B91
RGBrgb(82, 59, 145)
HSLhsl(256, 42%, 40%)
HSVhsv(256, 59%, 57%)
CMYKcmyk(43.4%, 59.3%, 0%, 43.1%)
CIE-LABlab(31.73, 31.51, -44.27)
CIE-LCHlch(31.73, 54.34, 305.44°)
OKLaboklab(42.47% 0.0507 -0.1261)
OKLCHoklch(42.47% 0.136 291.9)
XYZxyz(10.1531, 6.9658, 27.5922)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523B91 #7A913B
analogous
#3B4F91 #523B91 #7D3B91
triadic
#523B91 #91523B #3B9152
tetradic
#523B91 #913B4F #7A913B #3B917D
square
#523B91 #913B4F #7A913B #3B917D
split-complementary
#523B91 #917D3B #4F913B
monochromatic
#21183A #392966 #523B91 #6D51B8 #917CCA

Accessibility & contrast

On white

8.77
#523B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#523B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523B91
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523B91#FFFFFF#000000##FFFFFF
##523B911.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034C94
Deuteranopia (green-blind)
#0D498F
Tritanopia (blue-blind)
#404E60
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #523b91;
/* rgb */ color: rgb(82, 59, 145);
/* oklch */ color: oklch(42.5% 0.136 291.9);
Tailwind
colors: {
  custom: {
    50: '#8772b2',
    500: '#523b91',
    950: '#000000',
  },
}
SCSS
$custom: #523b91;
$custom-light: #8772b2;
$custom-dark: #000000;
JSON
{
  "hex": "#523b91",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 145
  },
  "hsl": {
    "h": 256.047,
    "s": 42.157,
    "l": 40
  },
  "oklch": {
    "l": 0.42468,
    "c": 0.13591,
    "h": 291.9
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#523B91
secondary
#A3B474
accent
#D256B1
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #523B91

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

Preview Lab → · Contrast checker → · Palette generator →

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