#7541B5#7541B5

#7541B5 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.176 H 300.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7541B5
RGBrgb(117, 65, 181)
HSLhsl(267, 47%, 48%)
HSVhsv(267, 64%, 71%)
CMYKcmyk(35.4%, 64.1%, 0%, 29%)
CIE-LABlab(39.41, 45.97, -53.32)
CIE-LCHlch(39.41, 70.40, 310.77°)
OKLaboklab(49.76% 0.0902 -0.1515)
OKLCHoklch(49.76% 0.176 300.8)
XYZxyz(17.5649, 10.8986, 44.8854)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541B5 #81B541
analogous
#4147B5 #7541B5 #AF41B5
triadic
#7541B5 #B57541 #41B575
tetradic
#7541B5 #B54147 #81B541 #41B5AF
square
#7541B5 #B54147 #81B541 #41B5AF
split-complementary
#7541B5 #B5AF41 #47B541
monochromatic
#3B215B #583188 #7541B5 #956AC9 #B597DA

Accessibility & contrast

On white

6.60
#7541B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7541B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7541B5#FFFFFF#000000##FFFFFF
##7541B51.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#115CB2
Tritanopia (blue-blind)
#675B75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7541b5;
/* rgb */ color: rgb(117, 65, 181);
/* oklch */ color: oklch(49.8% 0.176 300.8);
Tailwind
colors: {
  custom: {
    50: '#a179cc',
    500: '#7541b5',
    950: '#000000',
  },
}
SCSS
$custom: #7541b5;
$custom-light: #a179cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7541b5",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 266.897,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49757,
    "c": 0.17632,
    "h": 300.8
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#7541B5
secondary
#ACC58C
accent
#D7519B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7541B5

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

Preview Lab → · Contrast checker → · Palette generator →

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