#6545BB#6545BB

#6545BB is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.177 H 290.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#6545BB
RGBrgb(101, 69, 187)
HSLhsl(256, 46%, 50%)
HSVhsv(256, 63%, 73%)
CMYKcmyk(46%, 63.1%, 0%, 26.7%)
CIE-LABlab(38.92, 42.00, -57.73)
CIE-LCHlch(38.92, 71.39, 306.04°)
OKLaboklab(49.14% 0.0632 -0.165)
OKLCHoklch(49.14% 0.177 290.9)
XYZxyz(16.4621, 10.6102, 48.1847)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545BB #9BBB45
analogous
#4560BB #6545BB #A045BB
triadic
#6545BB #BB6545 #45BB65
tetradic
#6545BB #BB4560 #9BBB45 #45BBA0
square
#6545BB #BB4560 #9BBB45 #45BBA0
split-complementary
#6545BB #BBA045 #60BB45
monochromatic
#352462 #4D348F #6545BB #8A72CB #AF9FDC

Accessibility & contrast

On white

6.73
#6545BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6545BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545BB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545BB#FFFFFF#000000##FFFFFF
##6545BB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#4B6179
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6545bb;
/* rgb */ color: rgb(101, 69, 187);
/* oklch */ color: oklch(49.1% 0.177 290.9);
Tailwind
colors: {
  custom: {
    50: '#977ad0',
    500: '#6545bb',
    950: '#000000',
  },
}
SCSS
$custom: #6545bb;
$custom-light: #977ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#6545bb",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 256.271,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49136,
    "c": 0.17671,
    "h": 290.9
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#6545BB
secondary
#BAC894
accent
#D652B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6545BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6545BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva