#6541DF#6541DF

#6541DF is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.225 H 285.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6541DF
RGBrgb(101, 65, 223)
HSLhsl(254, 71%, 56%)
HSVhsv(254, 71%, 87%)
CMYKcmyk(54.7%, 70.9%, 0%, 12.5%)
CIE-LABlab(41.02, 54.45, -75.13)
CIE-LCHlch(41.02, 92.79, 305.93°)
OKLaboklab(51.54% 0.0616 -0.2161)
OKLCHoklch(51.54% 0.225 285.9)
XYZxyz(20.5724, 11.8739, 71.0056)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541DF #BBDF41
analogous
#416CDF #6541DF #B441DF
triadic
#6541DF #DF6541 #41DF65
tetradic
#6541DF #DF416C #BBDF41 #41DFB4
square
#6541DF #DF416C #BBDF41 #41DFB4
split-complementary
#6541DF #DFB441 #6CDF41
monochromatic
#33188E #4521C2 #6541DF #8F75E8 #BAAAF1

Accessibility & contrast

On white

6.22
#6541DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6541DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541DF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541DF#FFFFFF#000000##FFFFFF
##6541DF1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#2E6B8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6541df;
/* rgb */ color: rgb(101, 65, 223);
/* oklch */ color: oklch(51.5% 0.225 285.9);
Tailwind
colors: {
  custom: {
    50: '#9d79ea',
    500: '#6541df',
    950: '#000000',
  },
}
SCSS
$custom: #6541df;
$custom-light: #9d79ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6541df",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 253.671,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5154,
    "c": 0.22477,
    "h": 285.9
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#6541DF
secondary
#D0DE9D
accent
#EE3AC5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6541DF

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

Preview Lab → · Contrast checker → · Palette generator →

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