#7541B1#7541B1

#7541B1 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.5% C 0.172 H 301.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7541B1
RGBrgb(117, 65, 177)
HSLhsl(268, 46%, 47%)
HSVhsv(268, 63%, 69%)
CMYKcmyk(33.9%, 63.3%, 0%, 30.6%)
CIE-LABlab(39.13, 44.95, -51.40)
CIE-LCHlch(39.13, 68.28, 311.17°)
OKLaboklab(49.47% 0.0905 -0.1459)
OKLCHoklch(49.47% 0.172 301.8)
XYZxyz(17.1604, 10.7368, 42.7548)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541B1 #7DB141
analogous
#4145B1 #7541B1 #AD41B1
triadic
#7541B1 #B17541 #41B175
tetradic
#7541B1 #B14145 #7DB141 #41B1AD
square
#7541B1 #B14145 #7DB141 #41B1AD
split-complementary
#7541B1 #B1AD41 #45B141
monochromatic
#3A2057 #573184 #7541B1 #9468C7 #B495D8

Accessibility & contrast

On white

6.67
#7541B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7541B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7541B1#FFFFFF#000000##FFFFFF
##7541B11.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#1A5CAF
Tritanopia (blue-blind)
#695973
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7541b1;
/* rgb */ color: rgb(117, 65, 177);
/* oklch */ color: oklch(49.5% 0.172 301.8);
Tailwind
colors: {
  custom: {
    50: '#a178c9',
    500: '#7541b1',
    950: '#000000',
  },
}
SCSS
$custom: #7541b1;
$custom-light: #a178c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7541b1",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 267.857,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4947,
    "c": 0.17165,
    "h": 301.8
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

primary
#7541B1
secondary
#A9C38A
accent
#D65299
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7541B1

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

Preview Lab → · Contrast checker → · Palette generator →

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