#7541AA#7541AA

#7541AA is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.0% C 0.163 H 303.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7541AA
RGBrgb(117, 65, 170)
HSLhsl(270, 45%, 46%)
HSVhsv(270, 62%, 67%)
CMYKcmyk(31.2%, 61.8%, 0%, 33.3%)
CIE-LABlab(38.66, 43.19, -48.00)
CIE-LCHlch(38.66, 64.57, 311.98°)
OKLaboklab(48.98% 0.0908 -0.1359)
OKLCHoklch(48.98% 0.163 303.7)
XYZxyz(16.4805, 10.4648, 39.1741)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541AA #76AA41
analogous
#4141AA #7541AA #A941AA
triadic
#7541AA #AA7541 #41AA75
tetradic
#7541AA #AA4141 #76AA41 #41AAA9
square
#7541AA #AA4141 #76AA41 #41AAA9
split-complementary
#7541AA #AAA941 #41AA41
monochromatic
#381F51 #57307E #7541AA #9464C4 #B291D5

Accessibility & contrast

On white

6.79
#7541AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7541AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7541AA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7541AA#FFFFFF#000000##FFFFFF
##7541AA1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015AAD
Deuteranopia (green-blind)
#265BA8
Tritanopia (blue-blind)
#6B576F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7541aa;
/* rgb */ color: rgb(117, 65, 170);
/* oklch */ color: oklch(49.0% 0.163 303.7);
Tailwind
colors: {
  custom: {
    50: '#a078c4',
    500: '#7541aa',
    950: '#000000',
  },
}
SCSS
$custom: #7541aa;
$custom-light: #a078c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7541aa",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 269.714,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48979,
    "c": 0.16346,
    "h": 303.7
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#7541AA
secondary
#A4C087
accent
#D45395
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7541AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7541AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva