#6541CF#6541CF

#6541CF is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.2% C 0.206 H 288.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#6541CF
RGBrgb(101, 65, 207)
HSLhsl(255, 60%, 53%)
HSVhsv(255, 69%, 81%)
CMYKcmyk(51.2%, 68.6%, 0%, 18.8%)
CIE-LABlab(39.67, 49.91, -68.15)
CIE-LCHlch(39.67, 84.47, 306.22°)
OKLaboklab(50.16% 0.0646 -0.1957)
OKLCHoklch(50.16% 0.206 288.3)
XYZxyz(18.5163, 11.0514, 60.1769)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541CF #ABCF41
analogous
#4164CF #6541CF #AC41CF
triadic
#6541CF #CF6541 #41CF65
tetradic
#6541CF #CF4164 #ABCF41 #41CFAC
square
#6541CF #CF4164 #ABCF41 #41CFAC
split-complementary
#6541CF #CFAC41 #64CF41
monochromatic
#351E77 #4A2BA8 #6541CF #8D72DB #B4A3E8

Accessibility & contrast

On white

6.54
#6541CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6541CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541CF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541CF#FFFFFF#000000##FFFFFF
##6541CF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#3E6583
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6541cf;
/* rgb */ color: rgb(101, 65, 207);
/* oklch */ color: oklch(50.2% 0.206 288.3);
Tailwind
colors: {
  custom: {
    50: '#9a78df',
    500: '#6541cf',
    950: '#000000',
  },
}
SCSS
$custom: #6541cf;
$custom-light: #9a78df;
$custom-dark: #000000;
JSON
{
  "hex": "#6541cf",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 255.211,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50164,
    "c": 0.20605,
    "h": 288.3
  },
  "luminance": 0.11052
}

Semantic roles & 50–950 ramp

primary
#6541CF
secondary
#C5D497
accent
#E345BB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6541CF

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

Preview Lab → · Contrast checker → · Palette generator →

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