#521075#521075

#521075 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.158 H 309.7°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#521075
RGBrgb(82, 16, 117)
HSLhsl(279, 76%, 26%)
HSVhsv(279, 86%, 46%)
CMYKcmyk(29.9%, 86.3%, 0%, 54.1%)
CIE-LABlab(21.76, 45.58, -42.87)
CIE-LCHlch(21.76, 62.57, 316.76°)
OKLaboklab(34.64% 0.1011 -0.1218)
OKLCHoklch(34.64% 0.158 309.7)
XYZxyz(6.8752, 3.4489, 17.1297)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521075 #337510
analogous
#1F1075 #521075 #751065
triadic
#521075 #755210 #107552
tetradic
#521075 #751F10 #337510 #106575
square
#521075 #751F10 #337510 #106575
split-complementary
#521075 #657510 #10751F
monochromatic
#13041B #2C093F #521075 #7817AB #9D1FE0

Accessibility & contrast

On white

12.43
#521075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#521075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521075
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521075#FFFFFF#000000##FFFFFF
##5210751.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#4D2B44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #521075;
/* rgb */ color: rgb(82, 16, 117);
/* oklch */ color: oklch(34.6% 0.158 309.7);
Tailwind
colors: {
  custom: {
    50: '#87599e',
    500: '#521075',
    950: '#000000',
  },
}
SCSS
$custom: #521075;
$custom-light: #87599e;
$custom-dark: #000000;
JSON
{
  "hex": "#521075",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 279.208,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34635,
    "c": 0.1583,
    "h": 309.7
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#521075
secondary
#5EAC35
accent
#F33577
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #521075

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

Preview Lab → · Contrast checker → · Palette generator →

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