#6545DB#6545DB

#6545DB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.7% C 0.216 H 285.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6545DB
RGBrgb(101, 69, 219)
HSLhsl(253, 68%, 56%)
HSVhsv(253, 68%, 86%)
CMYKcmyk(53.9%, 68.5%, 0%, 14.1%)
CIE-LABlab(41.43, 51.21, -72.17)
CIE-LCHlch(41.43, 88.49, 305.36°)
OKLaboklab(51.73% 0.0591 -0.2075)
OKLCHoklch(51.73% 0.216 285.9)
XYZxyz(20.2773, 12.1363, 68.2782)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545DB #BBDB45
analogous
#4570DB #6545DB #B045DB
triadic
#6545DB #DB6545 #45DB65
tetradic
#6545DB #DB4570 #BBDB45 #45DBB0
square
#6545DB #DB4570 #BBDB45 #45DBB0
split-complementary
#6545DB #DBB045 #70DB45
monochromatic
#331B8B #4525BE #6545DB #8F78E5 #BAACEF

Accessibility & contrast

On white

6.13
#6545DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6545DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545DB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545DB#FFFFFF#000000##FFFFFF
##6545DB1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#326C8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6545db;
/* rgb */ color: rgb(101, 69, 219);
/* oklch */ color: oklch(51.7% 0.216 285.9);
Tailwind
colors: {
  custom: {
    50: '#9c7be7',
    500: '#6545db',
    950: '#000000',
  },
}
SCSS
$custom: #6545db;
$custom-light: #9c7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6545db",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 252.8,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51733,
    "c": 0.21571,
    "h": 285.9
  },
  "luminance": 0.12137
}

Semantic roles & 50–950 ramp

primary
#6545DB
secondary
#D0DD9F
accent
#EA3DC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6545DB

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

Preview Lab → · Contrast checker → · Palette generator →

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