#6541AF#6541AF

#6541AF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.167 H 294.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6541AF
RGBrgb(101, 65, 175)
HSLhsl(260, 46%, 47%)
HSVhsv(260, 63%, 69%)
CMYKcmyk(42.3%, 62.9%, 0%, 31.4%)
CIE-LABlab(37.19, 40.88, -53.44)
CIE-LCHlch(37.19, 67.28, 307.42°)
OKLaboklab(47.61% 0.0686 -0.1524)
OKLCHoklch(47.61% 0.167 294.2)
XYZxyz(14.9929, 9.6421, 41.6203)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541AF #8BAF41
analogous
#4154AF #6541AF #9C41AF
triadic
#6541AF #AF6541 #41AF65
tetradic
#6541AF #AF4154 #8BAF41 #41AF9C
square
#6541AF #AF4154 #8BAF41 #41AF9C
split-complementary
#6541AF #AF9C41 #54AF41
monochromatic
#312056 #4B3082 #6541AF #8667C6 #AA93D7

Accessibility & contrast

On white

7.17
#6541AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6541AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6541AF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541AF#FFFFFF#000000##FFFFFF
##6541AF1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#515A72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6541af;
/* rgb */ color: rgb(101, 65, 175);
/* oklch */ color: oklch(47.6% 0.167 294.2);
Tailwind
colors: {
  custom: {
    50: '#9677c8',
    500: '#6541af',
    950: '#000000',
  },
}
SCSS
$custom: #6541af;
$custom-light: #9677c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6541af",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 259.636,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47606,
    "c": 0.16713,
    "h": 294.2
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#6541AF
secondary
#B0C289
accent
#D552AB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6541AF

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

Preview Lab → · Contrast checker → · Palette generator →

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