#523596#523596

#523596 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.9% C 0.151 H 292.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#523596
RGBrgb(82, 53, 150)
HSLhsl(258, 48%, 40%)
HSVhsv(258, 65%, 59%)
CMYKcmyk(45.3%, 64.7%, 0%, 41.2%)
CIE-LABlab(30.74, 36.58, -48.93)
CIE-LCHlch(30.74, 61.09, 306.78°)
OKLaboklab(41.86% 0.0576 -0.1398)
OKLCHoklch(41.86% 0.151 292.4)
XYZxyz(10.2563, 6.5417, 29.5705)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523596 #799635
analogous
#354996 #523596 #823596
triadic
#523596 #965235 #359652
tetradic
#523596 #963549 #799635 #359682
square
#523596 #963549 #799635 #359682
split-complementary
#523596 #968235 #499635
monochromatic
#21153C #392569 #523596 #6C49BF #9177CF

Accessibility & contrast

On white

9.10
#523596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#523596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523596
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523596#FFFFFF#000000##FFFFFF
##5235961.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#3E4C60
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #523596;
/* rgb */ color: rgb(82, 53, 150);
/* oklch */ color: oklch(41.9% 0.151 292.4);
Tailwind
colors: {
  custom: {
    50: '#886eb6',
    500: '#523596',
    950: '#000000',
  },
}
SCSS
$custom: #523596;
$custom-light: #886eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#523596",
  "rgb": {
    "r": 82,
    "g": 53,
    "b": 150
  },
  "hsl": {
    "h": 257.938,
    "s": 47.783,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41862,
    "c": 0.15121,
    "h": 292.4
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#523596
secondary
#A2B76F
accent
#D750AF
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523596

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

Preview Lab → · Contrast checker → · Palette generator →

#523596 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva