#6541D5#6541D5

#6541D5 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.7% C 0.213 H 287.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6541D5
RGBrgb(101, 65, 213)
HSLhsl(255, 64%, 55%)
HSVhsv(255, 69%, 84%)
CMYKcmyk(52.6%, 69.5%, 0%, 16.5%)
CIE-LABlab(40.16, 51.61, -70.80)
CIE-LCHlch(40.16, 87.61, 306.09°)
OKLaboklab(50.67% 0.0636 -0.2034)
OKLCHoklch(50.67% 0.213 287.3)
XYZxyz(19.2638, 11.3504, 64.1137)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541D5 #B1D541
analogous
#4167D5 #6541D5 #AF41D5
triadic
#6541D5 #D56541 #41D565
tetradic
#6541D5 #D54167 #B1D541 #41D5AF
square
#6541D5 #D54167 #B1D541 #41D5AF
split-complementary
#6541D5 #D5AF41 #67D541
monochromatic
#341C7F #4927B2 #6541D5 #8E73E0 #B6A5EB

Accessibility & contrast

On white

6.42
#6541D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6541D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541D5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541D5#FFFFFF#000000##FFFFFF
##6541D51.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#396886
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6541d5;
/* rgb */ color: rgb(101, 65, 213);
/* oklch */ color: oklch(50.7% 0.213 287.3);
Tailwind
colors: {
  custom: {
    50: '#9b78e3',
    500: '#6541d5',
    950: '#000000',
  },
}
SCSS
$custom: #6541d5;
$custom-light: #9b78e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6541d5",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 254.595,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50673,
    "c": 0.21313,
    "h": 287.3
  },
  "luminance": 0.11351
}

Semantic roles & 50–950 ramp

primary
#6541D5
secondary
#C9D89A
accent
#E741BE
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6541D5

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

Preview Lab → · Contrast checker → · Palette generator →

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