#521975#521975

#521975 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.149 H 308.8°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#521975
RGBrgb(82, 25, 117)
HSLhsl(277, 65%, 28%)
HSVhsv(277, 79%, 46%)
CMYKcmyk(29.9%, 78.6%, 0%, 54.1%)
CIE-LABlab(22.91, 42.25, -41.00)
CIE-LCHlch(22.91, 58.87, 315.86°)
OKLaboklab(35.44% 0.0934 -0.1164)
OKLCHoklch(35.44% 0.149 308.8)
XYZxyz(7.0375, 3.7736, 17.1838)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521975 #3C7519
analogous
#241975 #521975 #75196A
triadic
#521975 #755219 #197552
tetradic
#521975 #752419 #3C7519 #196A75
square
#521975 #752419 #3C7519 #196A75
split-complementary
#521975 #6A7519 #197524
monochromatic
#120519 #2F0E43 #521975 #7524A7 #9735D4

Accessibility & contrast

On white

11.97
#521975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#521975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521975
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521975#FFFFFF#000000##FFFFFF
##5219751.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#4D2F46
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #521975;
/* rgb */ color: rgb(82, 25, 117);
/* oklch */ color: oklch(35.4% 0.149 308.8);
Tailwind
colors: {
  custom: {
    50: '#875c9d',
    500: '#521975',
    950: '#000000',
  },
}
SCSS
$custom: #521975;
$custom-light: #875c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#521975",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 277.174,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35439,
    "c": 0.1492,
    "h": 308.8
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#521975
secondary
#68AA40
accent
#E84080
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #521975

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

Preview Lab → · Contrast checker → · Palette generator →

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