#6541B8#6541B8

#6541B8 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.178 H 292.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6541B8
RGBrgb(101, 65, 184)
HSLhsl(258, 48%, 49%)
HSVhsv(258, 65%, 72%)
CMYKcmyk(45.1%, 64.7%, 0%, 27.8%)
CIE-LABlab(37.86, 43.40, -57.68)
CIE-LCHlch(37.86, 72.19, 306.96°)
OKLaboklab(48.3% 0.0678 -0.1649)
OKLCHoklch(48.3% 0.178 292.3)
XYZxyz(15.9065, 10.0075, 46.4317)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6541B8 #94B841
analogous
#4159B8 #6541B8 #A141B8
triadic
#6541B8 #B86541 #41B865
tetradic
#6541B8 #B84159 #94B841 #41B8A1
square
#6541B8 #B84159 #94B841 #41B8A1
split-complementary
#6541B8 #B8A141 #59B841
monochromatic
#33215E #4C318B #6541B8 #886BCB #AD99DB

Accessibility & contrast

On white

7.00
#6541B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6541B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6541B8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6541B8#FFFFFF#000000##FFFFFF
##6541B81.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#4D5D77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6541b8;
/* rgb */ color: rgb(101, 65, 184);
/* oklch */ color: oklch(48.3% 0.178 292.3);
Tailwind
colors: {
  custom: {
    50: '#9778ce',
    500: '#6541b8',
    950: '#000000',
  },
}
SCSS
$custom: #6541b8;
$custom-light: #9778ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6541b8",
  "rgb": {
    "r": 101,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 258.151,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48297,
    "c": 0.17829,
    "h": 292.3
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

primary
#6541B8
secondary
#B6C78E
accent
#D750AF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6541B8

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

Preview Lab → · Contrast checker → · Palette generator →

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