#6541CD#6541CD

#6541CD is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.0% C 0.204 H 288.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#6541CD
RGBrgb(101, 65, 205)
HSLhsl(255, 58%, 53%)
HSVhsv(255, 68%, 80%)
CMYKcmyk(50.7%, 68.3%, 0%, 19.6%)
CIE-LABlab(39.50, 49.34, -67.26)
CIE-LCHlch(39.50, 83.42, 306.26°)
OKLaboklab(50% 0.0649 -0.1931)
OKLCHoklch(50% 0.204 288.6)
XYZxyz(18.2734, 10.9542, 58.8973)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541CD #A9CD41
analogous
#4163CD #6541CD #AB41CD
triadic
#6541CD #CD6541 #41CD65
tetradic
#6541CD #CD4163 #A9CD41 #41CDAB
square
#6541CD #CD4163 #A9CD41 #41CDAB
split-complementary
#6541CD #CDAB41 #63CD41
monochromatic
#351F75 #4B2CA5 #6541CD #8C71DA #B4A2E6

Accessibility & contrast

On white

6.58
#6541CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6541CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541CD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541CD#FFFFFF#000000##FFFFFF
##6541CD1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#3F6582
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6541cd;
/* rgb */ color: rgb(101, 65, 205);
/* oklch */ color: oklch(50.0% 0.204 288.6);
Tailwind
colors: {
  custom: {
    50: '#9a78dd',
    500: '#6541cd',
    950: '#000000',
  },
}
SCSS
$custom: #6541cd;
$custom-light: #9a78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6541cd",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 255.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.20368,
    "h": 288.6
  },
  "luminance": 0.10955
}

Semantic roles & 50–950 ramp

primary
#6541CD
secondary
#C4D397
accent
#E246BA
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6541CD

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

Preview Lab → · Contrast checker → · Palette generator →

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