#7541AF#7541AF

#7541AF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.3% C 0.169 H 302.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7541AF
RGBrgb(117, 65, 175)
HSLhsl(268, 46%, 47%)
HSVhsv(268, 63%, 69%)
CMYKcmyk(33.1%, 62.9%, 0%, 31.4%)
CIE-LABlab(39.00, 44.45, -50.43)
CIE-LCHlch(39.00, 67.22, 311.39°)
OKLaboklab(49.33% 0.0906 -0.143)
OKLCHoklch(49.33% 0.169 302.3)
XYZxyz(16.9625, 10.6576, 41.7126)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7541AF #7BAF41
analogous
#4144AF #7541AF #AC41AF
triadic
#7541AF #AF7541 #41AF75
tetradic
#7541AF #AF4144 #7BAF41 #41AFAC
square
#7541AF #AF4144 #7BAF41 #41AFAC
split-complementary
#7541AF #AFAC41 #44AF41
monochromatic
#392056 #573082 #7541AF #9467C6 #B393D7

Accessibility & contrast

On white

6.71
#7541AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7541AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7541AF#FFFFFF#000000##FFFFFF
##7541AF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#1E5BAD
Tritanopia (blue-blind)
#695872
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7541af;
/* rgb */ color: rgb(117, 65, 175);
/* oklch */ color: oklch(49.3% 0.169 302.3);
Tailwind
colors: {
  custom: {
    50: '#a178c7',
    500: '#7541af',
    950: '#000000',
  },
}
SCSS
$custom: #7541af;
$custom-light: #a178c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7541af",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 268.364,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49328,
    "c": 0.16931,
    "h": 302.3
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#7541AF
secondary
#A7C289
accent
#D55297
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7541AF

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

Preview Lab → · Contrast checker → · Palette generator →

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