#6541DC#6541DC

#6541DC is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.221 H 286.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6541DC
RGBrgb(101, 65, 220)
HSLhsl(254, 69%, 56%)
HSVhsv(254, 70%, 86%)
CMYKcmyk(54.1%, 70.5%, 0%, 13.7%)
CIE-LABlab(40.76, 53.60, -73.84)
CIE-LCHlch(40.76, 91.25, 305.97°)
OKLaboklab(51.28% 0.0622 -0.2124)
OKLCHoklch(51.28% 0.221 286.3)
XYZxyz(20.1715, 11.7135, 68.8943)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541DC #B8DC41
analogous
#416BDC #6541DC #B241DC
triadic
#6541DC #DC6541 #41DC65
tetradic
#6541DC #DC416B #B8DC41 #41DCB2
square
#6541DC #DC416B #B8DC41 #41DCB2
split-complementary
#6541DC #DCB241 #6BDC41
monochromatic
#331989 #4723BD #6541DC #8F75E6 #B9A8EF

Accessibility & contrast

On white

6.28
#6541DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6541DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541DC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541DC#FFFFFF#000000##FFFFFF
##6541DC1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#326A8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6541dc;
/* rgb */ color: rgb(101, 65, 220);
/* oklch */ color: oklch(51.3% 0.221 286.3);
Tailwind
colors: {
  custom: {
    50: '#9c79e8',
    500: '#6541dc',
    950: '#000000',
  },
}
SCSS
$custom: #6541dc;
$custom-light: #9c79e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6541dc",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 253.935,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51278,
    "c": 0.2213,
    "h": 286.3
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#6541DC
secondary
#CEDD9C
accent
#EC3CC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6541DC

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

Preview Lab → · Contrast checker → · Palette generator →

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