#7524A2#7524A2

#7524A2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.192 H 309.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7524A2
RGBrgb(117, 36, 162)
HSLhsl(279, 64%, 39%)
HSVhsv(279, 78%, 64%)
CMYKcmyk(27.8%, 77.8%, 0%, 36.5%)
CIE-LABlab(33.25, 54.81, -51.95)
CIE-LCHlch(33.25, 75.52, 316.54°)
OKLaboklab(44.93% 0.1232 -0.1473)
OKLCHoklch(44.93% 0.192 309.9)
XYZxyz(14.4873, 7.6526, 34.8893)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524A2 #51A224
analogous
#3624A2 #7524A2 #A22490
triadic
#7524A2 #A27524 #24A275
tetradic
#7524A2 #A23624 #51A224 #2490A2
square
#7524A2 #A23624 #51A224 #2490A2
split-complementary
#7524A2 #90A224 #24A236
monochromatic
#2D0E3E #511970 #7524A2 #9832D1 #B164DD

Accessibility & contrast

On white

8.30
#7524A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7524A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7524A2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7524A2#FFFFFF#000000##FFFFFF
##7524A21.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#6E4362
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7524a2;
/* rgb */ color: rgb(117, 36, 162);
/* oklch */ color: oklch(44.9% 0.192 309.9);
Tailwind
colors: {
  custom: {
    50: '#a168be',
    500: '#7524a2',
    950: '#000000',
  },
}
SCSS
$custom: #7524a2;
$custom-light: #a168be;
$custom-dark: #000000;
JSON
{
  "hex": "#7524a2",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 278.571,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44925,
    "c": 0.19208,
    "h": 309.9
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#7524A2
secondary
#83C260
accent
#E7417C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7524A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7524A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva