#6545AB#6545AB

#6545AB is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.9% C 0.156 H 294.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6545AB
RGBrgb(101, 69, 171)
HSLhsl(259, 43%, 47%)
HSVhsv(259, 60%, 67%)
CMYKcmyk(40.9%, 59.6%, 0%, 32.9%)
CIE-LABlab(37.78, 37.47, -50.12)
CIE-LCHlch(37.78, 62.57, 306.78°)
OKLaboklab(47.94% 0.0641 -0.1427)
OKLCHoklch(47.94% 0.156 294.2)
XYZxyz(14.8437, 9.9629, 39.6611)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545AB #8BAB45
analogous
#4558AB #6545AB #9845AB
triadic
#6545AB #AB6545 #45AB65
tetradic
#6545AB #AB4558 #8BAB45 #45AB98
square
#6545AB #AB4558 #8BAB45 #45AB98
split-complementary
#6545AB #AB9845 #58AB45
monochromatic
#312254 #4B337F #6545AB #866AC3 #AA96D5

Accessibility & contrast

On white

7.02
#6545AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6545AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6545AB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545AB#FFFFFF#000000##FFFFFF
##6545AB1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#1257A9
Tritanopia (blue-blind)
#535B71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6545ab;
/* rgb */ color: rgb(101, 69, 171);
/* oklch */ color: oklch(47.9% 0.156 294.2);
Tailwind
colors: {
  custom: {
    50: '#967ac5',
    500: '#6545ab',
    950: '#000000',
  },
}
SCSS
$custom: #6545ab;
$custom-light: #967ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#6545ab",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 258.824,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47943,
    "c": 0.15638,
    "h": 294.2
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#6545AB
secondary
#B0C08B
accent
#D256AB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6545AB

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

Preview Lab → · Contrast checker → · Palette generator →

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