#521375#521375

#521375 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.156 H 309.4°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#521375
RGBrgb(82, 19, 117)
HSLhsl(279, 72%, 27%)
HSVhsv(279, 84%, 46%)
CMYKcmyk(29.9%, 83.8%, 0%, 54.1%)
CIE-LABlab(22.10, 44.57, -42.31)
CIE-LCHlch(22.10, 61.45, 316.49°)
OKLaboklab(34.87% 0.0988 -0.1202)
OKLCHoklch(34.87% 0.156 309.4)
XYZxyz(6.9228, 3.5441, 17.1456)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521375 #367513
analogous
#211375 #521375 #751367
triadic
#521375 #755213 #137552
tetradic
#521375 #752113 #367513 #136775
square
#521375 #752113 #367513 #136775
split-complementary
#521375 #677513 #137521
monochromatic
#12041A #2D0A40 #521375 #771CAA #9B27DC

Accessibility & contrast

On white

12.29
#521375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#521375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521375
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521375#FFFFFF#000000##FFFFFF
##5213751.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#4D2C45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #521375;
/* rgb */ color: rgb(82, 19, 117);
/* oklch */ color: oklch(34.9% 0.156 309.4);
Tailwind
colors: {
  custom: {
    50: '#875a9d',
    500: '#521375',
    950: '#000000',
  },
}
SCSS
$custom: #521375;
$custom-light: #875a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#521375",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 278.571,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34874,
    "c": 0.15556,
    "h": 309.4
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#521375
secondary
#61AB38
accent
#EF397A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #521375

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

Preview Lab → · Contrast checker → · Palette generator →

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