#6541CB#6541CB

#6541CB is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 49.8% C 0.201 H 288.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#6541CB
RGBrgb(101, 65, 203)
HSLhsl(256, 57%, 53%)
HSVhsv(256, 68%, 80%)
CMYKcmyk(50.2%, 68%, 0%, 20.4%)
CIE-LABlab(39.34, 48.77, -66.37)
CIE-LCHlch(39.34, 82.36, 306.31°)
OKLaboklab(49.83% 0.0652 -0.1904)
OKLCHoklch(49.83% 0.201 288.9)
XYZxyz(18.0335, 10.8583, 57.6340)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541CB #A7CB41
analogous
#4162CB #6541CB #AA41CB
triadic
#6541CB #CB6541 #41CB65
tetradic
#6541CB #CB4162 #A7CB41 #41CBAA
square
#6541CB #CB4162 #A7CB41 #41CBAA
split-complementary
#6541CB #CBAA41 #62CB41
monochromatic
#351F72 #4B2CA2 #6541CB #8C71D8 #B3A1E5

Accessibility & contrast

On white

6.62
#6541CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6541CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541CB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541CB#FFFFFF#000000##FFFFFF
##6541CB1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#416481
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6541cb;
/* rgb */ color: rgb(101, 65, 203);
/* oklch */ color: oklch(49.8% 0.201 288.9);
Tailwind
colors: {
  custom: {
    50: '#9a78dc',
    500: '#6541cb',
    950: '#000000',
  },
}
SCSS
$custom: #6541cb;
$custom-light: #9a78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6541cb",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 255.652,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4983,
    "c": 0.2013,
    "h": 288.9
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#6541CB
secondary
#C2D296
accent
#E048B8
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6541CB

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

Preview Lab → · Contrast checker → · Palette generator →

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