#6541EA#6541EA

#6541EA is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.237 H 284.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6541EA
RGBrgb(101, 65, 234)
HSLhsl(253, 80%, 59%)
HSVhsv(253, 72%, 92%)
CMYKcmyk(56.8%, 72.2%, 0%, 8.2%)
CIE-LABlab(41.98, 57.57, -79.81)
CIE-LCHlch(41.98, 98.40, 305.80°)
OKLaboklab(52.52% 0.0593 -0.2298)
OKLCHoklch(52.52% 0.237 284.5)
XYZxyz(22.1039, 12.4864, 79.0713)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541EA #C6EA41
analogous
#4171EA #6541EA #B941EA
triadic
#6541EA #EA6541 #41EA65
tetradic
#6541EA #EA4171 #C6EA41 #41EAB9
square
#6541EA #EA4171 #C6EA41 #41EAB9
split-complementary
#6541EA #EAB941 #71EA41
monochromatic
#30129F #4018D6 #6541EA #9278F0 #BEAFF6

Accessibility & contrast

On white

6.00
#6541EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6541EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541EA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541EA#FFFFFF#000000##FFFFFF
##6541EA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#005EE7
Tritanopia (blue-blind)
#1D6F92
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6541ea;
/* rgb */ color: rgb(101, 65, 234);
/* oklch */ color: oklch(52.5% 0.237 284.5);
Tailwind
colors: {
  custom: {
    50: '#9e79f2',
    500: '#6541ea',
    950: '#000000',
  },
}
SCSS
$custom: #6541ea;
$custom-light: #9e79f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6541ea",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 252.781,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.23737,
    "h": 284.5
  },
  "luminance": 0.12488
}

Semantic roles & 50–950 ramp

primary
#6541EA
secondary
#D7E5A2
accent
#F731CD
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6541EA

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

Preview Lab → · Contrast checker → · Palette generator →

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