#7541AB#7541AB

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

Color values

HEX#7541AB
RGBrgb(117, 65, 171)
HSLhsl(269, 45%, 46%)
HSVhsv(269, 62%, 67%)
CMYKcmyk(31.6%, 62%, 0%, 32.9%)
CIE-LABlab(38.73, 43.44, -48.49)
CIE-LCHlch(38.73, 65.10, 311.86°)
OKLaboklab(49.05% 0.0908 -0.1373)
OKLCHoklch(49.05% 0.165 303.5)
XYZxyz(16.5754, 10.5028, 39.6742)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541AB #77AB41
analogous
#4142AB #7541AB #AA41AB
triadic
#7541AB #AB7541 #41AB75
tetradic
#7541AB #AB4142 #77AB41 #41ABAA
square
#7541AB #AB4142 #77AB41 #41ABAA
split-complementary
#7541AB #ABAA41 #42AB41
monochromatic
#381F52 #57307F #7541AB #9465C4 #B391D5

Accessibility & contrast

On white

6.77
#7541AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7541AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7541AB#FFFFFF#000000##FFFFFF
##7541AB1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#245BA9
Tritanopia (blue-blind)
#6B5770
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7541ab;
/* rgb */ color: rgb(117, 65, 171);
/* oklch */ color: oklch(49.0% 0.165 303.5);
Tailwind
colors: {
  custom: {
    50: '#a078c5',
    500: '#7541ab',
    950: '#000000',
  },
}
SCSS
$custom: #7541ab;
$custom-light: #a078c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7541ab",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 269.434,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49049,
    "c": 0.16463,
    "h": 303.5
  },
  "luminance": 0.10503
}

Semantic roles & 50–950 ramp

primary
#7541AB
secondary
#A4C187
accent
#D55395
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7541AB

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

Preview Lab → · Contrast checker → · Palette generator →

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