#521983#521983

#521983 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.164 H 303.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#521983
RGBrgb(82, 25, 131)
HSLhsl(272, 68%, 31%)
HSVhsv(272, 81%, 51%)
CMYKcmyk(37.4%, 80.9%, 0%, 48.6%)
CIE-LABlab(24.09, 45.62, -47.97)
CIE-LCHlch(24.09, 66.20, 313.56°)
OKLaboklab(36.64% 0.0899 -0.1368)
OKLCHoklch(36.64% 0.164 303.3)
XYZxyz(7.9231, 4.1278, 21.8477)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521983 #4A8319
analogous
#1D1983 #521983 #83197F
triadic
#521983 #835219 #198352
tetradic
#521983 #831D19 #4A8319 #197F83
square
#521983 #831D19 #4A8319 #197F83
split-complementary
#521983 #7F8319 #19831D
monochromatic
#12051C #320F50 #521983 #7223B6 #913DDA

Accessibility & contrast

On white

11.50
#521983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#521983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521983
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521983#FFFFFF#000000##FFFFFF
##5219831.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#48354E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #521983;
/* rgb */ color: rgb(82, 25, 131);
/* oklch */ color: oklch(36.6% 0.164 303.3);
Tailwind
colors: {
  custom: {
    50: '#885da8',
    500: '#521983',
    950: '#000000',
  },
}
SCSS
$custom: #521983;
$custom-light: #885da8;
$custom-dark: #000000;
JSON
{
  "hex": "#521983",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 272.264,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36636,
    "c": 0.16373,
    "h": 303.3
  },
  "luminance": 0.04128
}

Semantic roles & 50–950 ramp

primary
#521983
secondary
#77B741
accent
#EB3D8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #521983

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

Preview Lab → · Contrast checker → · Palette generator →

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