#6545B3#6545B3

#6545B3 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.5% C 0.167 H 292.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6545B3
RGBrgb(101, 69, 179)
HSLhsl(257, 44%, 49%)
HSVhsv(257, 61%, 70%)
CMYKcmyk(43.6%, 61.5%, 0%, 29.8%)
CIE-LABlab(38.34, 39.72, -53.96)
CIE-LCHlch(38.34, 67.00, 306.36°)
OKLaboklab(48.53% 0.0637 -0.1539)
OKLCHoklch(48.53% 0.167 292.5)
XYZxyz(15.6294, 10.2772, 43.7993)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545B3 #93B345
analogous
#455CB3 #6545B3 #9C45B3
triadic
#6545B3 #B36545 #45B365
tetradic
#6545B3 #B3455C #93B345 #45B39C
square
#6545B3 #B3455C #93B345 #45B39C
split-complementary
#6545B3 #B39C45 #5CB345
monochromatic
#33235B #4C3487 #6545B3 #886EC7 #AC9AD8

Accessibility & contrast

On white

6.87
#6545B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6545B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545B3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545B3#FFFFFF#000000##FFFFFF
##6545B31.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#4F5E75
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6545b3;
/* rgb */ color: rgb(101, 69, 179);
/* oklch */ color: oklch(48.5% 0.167 292.5);
Tailwind
colors: {
  custom: {
    50: '#977aca',
    500: '#6545b3',
    950: '#000000',
  },
}
SCSS
$custom: #6545b3;
$custom-light: #977aca;
$custom-dark: #000000;
JSON
{
  "hex": "#6545b3",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 257.455,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48529,
    "c": 0.16662,
    "h": 292.5
  },
  "luminance": 0.10278
}

Semantic roles & 50–950 ramp

primary
#6545B3
secondary
#B5C48F
accent
#D454AF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6545B3

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

Preview Lab → · Contrast checker → · Palette generator →

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