#521675#521675

#521675 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.153 H 309.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#521675
RGBrgb(82, 22, 117)
HSLhsl(278, 68%, 27%)
HSVhsv(278, 81%, 46%)
CMYKcmyk(29.9%, 81.2%, 0%, 54.1%)
CIE-LABlab(22.49, 43.46, -41.68)
CIE-LCHlch(22.49, 60.22, 316.20°)
OKLaboklab(35.14% 0.0962 -0.1183)
OKLCHoklch(35.14% 0.153 309.1)
XYZxyz(6.9768, 3.6521, 17.1636)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521675 #397516
analogous
#231675 #521675 #751668
triadic
#521675 #755216 #167552
tetradic
#521675 #752316 #397516 #166875
square
#521675 #752316 #397516 #166875
split-complementary
#521675 #687516 #167523
monochromatic
#12051A #2E0C41 #521675 #7620A9 #992ED8

Accessibility & contrast

On white

12.14
#521675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#521675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521675
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521675#FFFFFF#000000##FFFFFF
##5216751.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#4D2E45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #521675;
/* rgb */ color: rgb(82, 22, 117);
/* oklch */ color: oklch(35.1% 0.153 309.1);
Tailwind
colors: {
  custom: {
    50: '#875b9d',
    500: '#521675',
    950: '#000000',
  },
}
SCSS
$custom: #521675;
$custom-light: #875b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#521675",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 277.895,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35143,
    "c": 0.15252,
    "h": 309.1
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#521675
secondary
#65AB3C
accent
#EB3D7D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #521675

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

Preview Lab → · Contrast checker → · Palette generator →

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