#6541B0#6541B0

#6541B0 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.7% C 0.168 H 294.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#6541B0
RGBrgb(101, 65, 176)
HSLhsl(259, 46%, 47%)
HSVhsv(259, 63%, 69%)
CMYKcmyk(42.6%, 63.1%, 0%, 31%)
CIE-LABlab(37.26, 41.16, -53.91)
CIE-LCHlch(37.26, 67.83, 307.36°)
OKLaboklab(47.68% 0.0685 -0.1538)
OKLCHoklch(47.68% 0.168 294)
XYZxyz(15.0915, 9.6815, 42.1395)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541B0 #8CB041
analogous
#4155B0 #6541B0 #9C41B0
triadic
#6541B0 #B06541 #41B065
tetradic
#6541B0 #B04155 #8CB041 #41B09C
square
#6541B0 #B04155 #8CB041 #41B09C
split-complementary
#6541B0 #B09C41 #55B041
monochromatic
#322057 #4B3083 #6541B0 #8667C7 #AA94D7

Accessibility & contrast

On white

7.15
#6541B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6541B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6541B0
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541B0#FFFFFF#000000##FFFFFF
##6541B01.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#515A72
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6541b0;
/* rgb */ color: rgb(101, 65, 176);
/* oklch */ color: oklch(47.7% 0.168 294.0);
Tailwind
colors: {
  custom: {
    50: '#9677c8',
    500: '#6541b0',
    950: '#000000',
  },
}
SCSS
$custom: #6541b0;
$custom-light: #9677c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6541b0",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 259.459,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47682,
    "c": 0.16838,
    "h": 294
  },
  "luminance": 0.09682
}

Semantic roles & 50–950 ramp

primary
#6541B0
secondary
#B0C38A
accent
#D652AB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6541B0

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

Preview Lab → · Contrast checker → · Palette generator →

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