#6541CC#6541CC

#6541CC is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 49.9% C 0.203 H 288.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#6541CC
RGBrgb(101, 65, 204)
HSLhsl(256, 58%, 53%)
HSVhsv(256, 68%, 80%)
CMYKcmyk(50.5%, 68.1%, 0%, 20%)
CIE-LABlab(39.42, 49.06, -66.82)
CIE-LCHlch(39.42, 82.89, 306.29°)
OKLaboklab(49.91% 0.0651 -0.1917)
OKLCHoklch(49.91% 0.203 288.7)
XYZxyz(18.1530, 10.9061, 58.2636)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541CC #A8CC41
analogous
#4162CC #6541CC #AB41CC
triadic
#6541CC #CC6541 #41CC65
tetradic
#6541CC #CC4162 #A8CC41 #41CCAB
square
#6541CC #CC4162 #A8CC41 #41CCAB
split-complementary
#6541CC #CCAB41 #62CC41
monochromatic
#351F74 #4B2CA4 #6541CC #8C71D9 #B3A1E6

Accessibility & contrast

On white

6.60
#6541CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6541CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541CC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541CC#FFFFFF#000000##FFFFFF
##6541CC1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#406481
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6541cc;
/* rgb */ color: rgb(101, 65, 204);
/* oklch */ color: oklch(49.9% 0.203 288.7);
Tailwind
colors: {
  custom: {
    50: '#9a78dd',
    500: '#6541cc',
    950: '#000000',
  },
}
SCSS
$custom: #6541cc;
$custom-light: #9a78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6541cc",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 255.54,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49913,
    "c": 0.2025,
    "h": 288.7
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#6541CC
secondary
#C3D396
accent
#E147B9
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6541CC

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

Preview Lab → · Contrast checker → · Palette generator →

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