#6D45BD#6D45BD

#6D45BD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.179 H 294.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6D45BD
RGBrgb(109, 69, 189)
HSLhsl(260, 48%, 51%)
HSVhsv(260, 63%, 74%)
CMYKcmyk(42.3%, 63.5%, 0%, 25.9%)
CIE-LABlab(39.88, 44.21, -57.29)
CIE-LCHlch(39.88, 72.36, 307.65°)
OKLaboklab(50.08% 0.074 -0.1635)
OKLCHoklch(50.08% 0.179 294.3)
XYZxyz(17.6176, 11.1811, 49.3642)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45BD #95BD45
analogous
#4559BD #6D45BD #A945BD
triadic
#6D45BD #BD6D45 #45BD6D
tetradic
#6D45BD #BD4559 #95BD45 #45BDA9
square
#6D45BD #BD4559 #95BD45 #45BDA9
split-complementary
#6D45BD #BDA945 #59BD45
monochromatic
#392464 #533491 #6D45BD #9072CD #B49FDD

Accessibility & contrast

On white

6.49
#6D45BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6D45BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45BD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45BD#FFFFFF#000000##FFFFFF
##6D45BD1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#58617B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6d45bd;
/* rgb */ color: rgb(109, 69, 189);
/* oklch */ color: oklch(50.1% 0.179 294.3);
Tailwind
colors: {
  custom: {
    50: '#9d7bd2',
    500: '#6d45bd',
    950: '#000000',
  },
}
SCSS
$custom: #6d45bd;
$custom-light: #9d7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45bd",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 260,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50077,
    "c": 0.17945,
    "h": 294.3
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

primary
#6D45BD
secondary
#B8CA94
accent
#D751AA
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6D45BD

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

Preview Lab → · Contrast checker → · Palette generator →

#6D45BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva