#521083#521083

#521083 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.172 H 304.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#521083
RGBrgb(82, 16, 131)
HSLhsl(274, 78%, 29%)
HSVhsv(274, 88%, 51%)
CMYKcmyk(37.4%, 87.8%, 0%, 48.6%)
CIE-LABlab(23.01, 48.77, -49.73)
CIE-LCHlch(23.01, 69.66, 314.44°)
OKLaboklab(35.89% 0.0966 -0.1419)
OKLCHoklch(35.89% 0.172 304.2)
XYZxyz(7.7607, 3.8031, 21.7936)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521083 #418310
analogous
#191083 #521083 #83107B
triadic
#521083 #835210 #108352
tetradic
#521083 #831910 #418310 #107B83
square
#521083 #831910 #418310 #107B83
split-complementary
#521083 #7B8310 #108319
monochromatic
#11031B #30094C #521083 #7417BA #9529E5

Accessibility & contrast

On white

11.93
#521083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#521083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521083
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521083#FFFFFF#000000##FFFFFF
##5210831.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#48324C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #521083;
/* rgb */ color: rgb(82, 16, 131);
/* oklch */ color: oklch(35.9% 0.172 304.2);
Tailwind
colors: {
  custom: {
    50: '#885aa8',
    500: '#521083',
    950: '#000000',
  },
}
SCSS
$custom: #521083;
$custom-light: #885aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#521083",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 274.435,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35887,
    "c": 0.1717,
    "h": 304.2
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#521083
secondary
#6EB936
accent
#F53386
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #521083

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

Preview Lab → · Contrast checker → · Palette generator →

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