#523C8F#523C8F

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

Color values

HEX#523C8F
RGBrgb(82, 60, 143)
HSLhsl(256, 41%, 40%)
HSVhsv(256, 58%, 56%)
CMYKcmyk(42.7%, 58%, 0%, 43.9%)
CIE-LABlab(31.83, 30.31, -42.89)
CIE-LCHlch(31.83, 52.51, 305.25°)
OKLaboklab(42.5% 0.0495 -0.122)
OKLCHoklch(42.5% 0.132 292.1)
XYZxyz(10.0521, 7.0084, 26.8044)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523C8F #798F3C
analogous
#3C4F8F #523C8F #7C3C8F
triadic
#523C8F #8F523C #3C8F52
tetradic
#523C8F #8F3C4F #798F3C #3C8F7C
square
#523C8F #8F3C4F #798F3C #3C8F7C
split-complementary
#523C8F #8F7C3C #4F8F3C
monochromatic
#211839 #392A64 #523C8F #6C52B6 #917DC8

Accessibility & contrast

On white

8.74
#523C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#523C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523C8F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523C8F#FFFFFF#000000##FFFFFF
##523C8F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C92
Deuteranopia (green-blind)
#15498D
Tritanopia (blue-blind)
#414E5F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #523c8f;
/* rgb */ color: rgb(82, 60, 143);
/* oklch */ color: oklch(42.5% 0.132 292.1);
Tailwind
colors: {
  custom: {
    50: '#8772b0',
    500: '#523c8f',
    950: '#000000',
  },
}
SCSS
$custom: #523c8f;
$custom-light: #8772b0;
$custom-dark: #000000;
JSON
{
  "hex": "#523c8f",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 255.904,
    "s": 40.887,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42495,
    "c": 0.13167,
    "h": 292.1
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#523C8F
secondary
#A2B275
accent
#D157B0
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #523C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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