#7520A4#7520A4

#7520A4 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.198 H 309.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7520A4
RGBrgb(117, 32, 164)
HSLhsl(279, 67%, 38%)
HSVhsv(279, 80%, 64%)
CMYKcmyk(28.7%, 80.5%, 0%, 35.7%)
CIE-LABlab(32.91, 56.67, -53.71)
CIE-LCHlch(32.91, 78.07, 316.54°)
OKLaboklab(44.74% 0.1261 -0.1525)
OKLCHoklch(44.74% 0.198 309.6)
XYZxyz(14.5521, 7.4956, 35.7950)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7520A4 #4FA420
analogous
#3320A4 #7520A4 #A42091
triadic
#7520A4 #A47520 #20A475
tetradic
#7520A4 #A43320 #4FA420 #2091A4
square
#7520A4 #A43320 #4FA420 #2091A4
split-complementary
#7520A4 #91A420 #20A433
monochromatic
#2C0C3E #501671 #7520A4 #992BD6 #B25FE0

Accessibility & contrast

On white

8.40
#7520A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7520A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7520A4
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7520A4#FFFFFF#000000##FFFFFF
##7520A41.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#6E4263
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7520a4;
/* rgb */ color: rgb(117, 32, 164);
/* oklch */ color: oklch(44.7% 0.198 309.6);
Tailwind
colors: {
  custom: {
    50: '#a267c0',
    500: '#7520a4',
    950: '#000000',
  },
}
SCSS
$custom: #7520a4;
$custom-light: #a267c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7520a4",
  "rgb": {
    "r": 117,
    "g": 32,
    "b": 164
  },
  "hsl": {
    "h": 278.636,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44735,
    "c": 0.19789,
    "h": 309.6
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#7520A4
secondary
#81C45C
accent
#EA3E7B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7520A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7520A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva