#6545AC#6545AC

#6545AC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.0% C 0.158 H 294.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6545AC
RGBrgb(101, 69, 172)
HSLhsl(259, 43%, 47%)
HSVhsv(259, 60%, 67%)
CMYKcmyk(41.3%, 59.9%, 0%, 32.5%)
CIE-LABlab(37.84, 37.75, -50.60)
CIE-LCHlch(37.84, 63.13, 306.72°)
OKLaboklab(48.02% 0.064 -0.1441)
OKLCHoklch(48.02% 0.158 294)
XYZxyz(14.9394, 10.0011, 40.1650)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545AC #8CAC45
analogous
#4558AC #6545AC #9945AC
triadic
#6545AC #AC6545 #45AC65
tetradic
#6545AC #AC4558 #8CAC45 #45AC99
square
#6545AC #AC4558 #8CAC45 #45AC99
split-complementary
#6545AC #AC9945 #58AC45
monochromatic
#322255 #4B3380 #6545AC #866BC4 #AA96D5

Accessibility & contrast

On white

7.00
#6545AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6545AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545AC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545AC#FFFFFF#000000##FFFFFF
##6545AC1.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)
#005AAF
Deuteranopia (green-blind)
#0F57AA
Tritanopia (blue-blind)
#525C72
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6545ac;
/* rgb */ color: rgb(101, 69, 172);
/* oklch */ color: oklch(48.0% 0.158 294.0);
Tailwind
colors: {
  custom: {
    50: '#967ac5',
    500: '#6545ac',
    950: '#000000',
  },
}
SCSS
$custom: #6545ac;
$custom-light: #967ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#6545ac",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 258.641,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48015,
    "c": 0.15767,
    "h": 294
  },
  "luminance": 0.10002
}

Semantic roles & 50–950 ramp

primary
#6545AC
secondary
#B0C18C
accent
#D355AC
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6545AC

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

Preview Lab → · Contrast checker → · Palette generator →

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