#7541B3#7541B3

#7541B3 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.6% C 0.174 H 301.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7541B3
RGBrgb(117, 65, 179)
HSLhsl(267, 47%, 48%)
HSVhsv(267, 64%, 70%)
CMYKcmyk(34.6%, 63.7%, 0%, 29.8%)
CIE-LABlab(39.27, 45.46, -52.36)
CIE-LCHlch(39.27, 69.34, 310.96°)
OKLaboklab(49.61% 0.0903 -0.1487)
OKLCHoklch(49.61% 0.174 301.3)
XYZxyz(17.3612, 10.8171, 43.8123)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541B3 #7FB341
analogous
#4146B3 #7541B3 #AE41B3
triadic
#7541B3 #B37541 #41B375
tetradic
#7541B3 #B34146 #7FB341 #41B3AE
square
#7541B3 #B34146 #7FB341 #41B3AE
split-complementary
#7541B3 #B3AE41 #46B341
monochromatic
#3A2059 #583186 #7541B3 #9469C8 #B496D9

Accessibility & contrast

On white

6.64
#7541B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7541B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7541B3#FFFFFF#000000##FFFFFF
##7541B31.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#165CB1
Tritanopia (blue-blind)
#685A74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7541b3;
/* rgb */ color: rgb(117, 65, 179);
/* oklch */ color: oklch(49.6% 0.174 301.3);
Tailwind
colors: {
  custom: {
    50: '#a178ca',
    500: '#7541b3',
    950: '#000000',
  },
}
SCSS
$custom: #7541b3;
$custom-light: #a178ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7541b3",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 267.368,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49613,
    "c": 0.17399,
    "h": 301.3
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

primary
#7541B3
secondary
#AAC48B
accent
#D6519A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7541B3

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

Preview Lab → · Contrast checker → · Palette generator →

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