#523581#523581

#523581 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.3% C 0.124 H 298.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#523581
RGBrgb(82, 53, 129)
HSLhsl(263, 42%, 36%)
HSVhsv(263, 59%, 51%)
CMYKcmyk(36.4%, 58.9%, 0%, 49.4%)
CIE-LABlab(29.22, 30.54, -38.40)
CIE-LCHlch(29.22, 49.06, 308.49°)
OKLaboklab(40.27% 0.0585 -0.1088)
OKLCHoklch(40.27% 0.124 298.3)
XYZxyz(8.7142, 5.9249, 21.4491)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523581 #648135
analogous
#353E81 #523581 #783581
triadic
#523581 #815235 #358152
tetradic
#523581 #81353E #648135 #358178
square
#523581 #81353E #648135 #358178
split-complementary
#523581 #817835 #3E8135
monochromatic
#1B112A #362356 #523581 #6E47AC #8E6DC3

Accessibility & contrast

On white

9.61
#523581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#523581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523581
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523581#FFFFFF#000000##FFFFFF
##5235811.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104584
Deuteranopia (green-blind)
#1C447F
Tritanopia (blue-blind)
#484555
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #523581;
/* rgb */ color: rgb(82, 53, 129);
/* oklch */ color: oklch(40.3% 0.124 298.3);
Tailwind
colors: {
  custom: {
    50: '#866da6',
    500: '#523581',
    950: '#000000',
  },
}
SCSS
$custom: #523581;
$custom-light: #866da6;
$custom-dark: #000000;
JSON
{
  "hex": "#523581",
  "rgb": {
    "r": 82,
    "g": 53,
    "b": 129
  },
  "hsl": {
    "h": 262.895,
    "s": 41.758,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40272,
    "c": 0.12359,
    "h": 298.3
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#523581
secondary
#91AB66
accent
#D256A3
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #523581

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

Preview Lab → · Contrast checker → · Palette generator →

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