#6545DD#6545DD

#6545DD is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.218 H 285.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6545DD
RGBrgb(101, 69, 221)
HSLhsl(253, 69%, 57%)
HSVhsv(253, 69%, 87%)
CMYKcmyk(54.3%, 68.8%, 0%, 13.3%)
CIE-LABlab(41.60, 51.79, -73.04)
CIE-LCHlch(41.60, 89.53, 305.34°)
OKLaboklab(51.9% 0.0587 -0.21)
OKLCHoklch(51.9% 0.218 285.6)
XYZxyz(20.5422, 12.2423, 69.6732)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6545DD #BDDD45
analogous
#4571DD #6545DD #B145DD
triadic
#6545DD #DD6545 #45DD65
tetradic
#6545DD #DD4571 #BDDD45 #45DDB1
square
#6545DD #DD4571 #BDDD45 #45DDB1
split-complementary
#6545DD #DDB145 #71DD45
monochromatic
#321A8E #4523C1 #6545DD #9079E6 #BBACF0

Accessibility & contrast

On white

6.09
#6545DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6545DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6545DD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6545DD#FFFFFF#000000##FFFFFF
##6545DD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#306D8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6545dd;
/* rgb */ color: rgb(101, 69, 221);
/* oklch */ color: oklch(51.9% 0.218 285.6);
Tailwind
colors: {
  custom: {
    50: '#9c7be9',
    500: '#6545dd',
    950: '#000000',
  },
}
SCSS
$custom: #6545dd;
$custom-light: #9c7be9;
$custom-dark: #000000;
JSON
{
  "hex": "#6545dd",
  "rgb": {
    "r": 101,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 252.632,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.21808,
    "h": 285.6
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#6545DD
secondary
#D1DEA0
accent
#EC3CC7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6545DD

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

Preview Lab → · Contrast checker → · Palette generator →

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