#6545CC#6545CC

#6545CC is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.5% C 0.198 H 288.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6545CC
RGBrgb(101, 69, 204)
HSLhsl(254, 57%, 54%)
HSVhsv(254, 66%, 80%)
CMYKcmyk(50.5%, 66.2%, 0%, 20%)
CIE-LABlab(40.22, 46.88, -65.52)
CIE-LCHlch(40.22, 80.57, 305.59°)
OKLaboklab(50.48% 0.0613 -0.1879)
OKLCHoklch(50.48% 0.198 288.1)
XYZxyz(18.3909, 11.3817, 58.3429)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545CC #ACCC45
analogous
#4568CC #6545CC #A845CC
triadic
#6545CC #CC6545 #45CC65
tetradic
#6545CC #CC4568 #ACCC45 #45CCA8
square
#6545CC #CC4568 #ACCC45 #45CCA8
split-complementary
#6545CC #CCA845 #68CC45
monochromatic
#352076 #4A2EA6 #6545CC #8D75D9 #B5A5E6

Accessibility & contrast

On white

6.41
#6545CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6545CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545CC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545CC#FFFFFF#000000##FFFFFF
##6545CC1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#406783
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6545cc;
/* rgb */ color: rgb(101, 69, 204);
/* oklch */ color: oklch(50.5% 0.198 288.1);
Tailwind
colors: {
  custom: {
    50: '#9a7bdd',
    500: '#6545cc',
    950: '#000000',
  },
}
SCSS
$custom: #6545cc;
$custom-light: #9a7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6545cc",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 254.222,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50483,
    "c": 0.1977,
    "h": 288.1
  },
  "luminance": 0.11383
}

Semantic roles & 50–950 ramp

primary
#6545CC
secondary
#C6D399
accent
#E048BC
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6545CC

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

Preview Lab → · Contrast checker → · Palette generator →

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