#6D45BB#6D45BB

#6D45BB is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.177 H 294.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6D45BB
RGBrgb(109, 69, 187)
HSLhsl(260, 46%, 50%)
HSVhsv(260, 63%, 73%)
CMYKcmyk(41.7%, 63.1%, 0%, 26.7%)
CIE-LABlab(39.74, 43.66, -56.35)
CIE-LCHlch(39.74, 71.29, 307.77°)
OKLaboklab(49.93% 0.0741 -0.1607)
OKLCHoklch(49.93% 0.177 294.8)
XYZxyz(17.4021, 11.0949, 48.2287)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45BB #93BB45
analogous
#4558BB #6D45BB #A845BB
triadic
#6D45BB #BB6D45 #45BB6D
tetradic
#6D45BB #BB4558 #93BB45 #45BBA8
square
#6D45BB #BB4558 #93BB45 #45BBA8
split-complementary
#6D45BB #BBA845 #58BB45
monochromatic
#392462 #53348F #6D45BB #9072CB #B39FDC

Accessibility & contrast

On white

6.52
#6D45BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6D45BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45BB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45BB#FFFFFF#000000##FFFFFF
##6D45BB1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#586079
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6d45bb;
/* rgb */ color: rgb(109, 69, 187);
/* oklch */ color: oklch(49.9% 0.177 294.8);
Tailwind
colors: {
  custom: {
    50: '#9c7bd0',
    500: '#6d45bb',
    950: '#000000',
  },
}
SCSS
$custom: #6d45bb;
$custom-light: #9c7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45bb",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 260.339,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49927,
    "c": 0.17701,
    "h": 294.8
  },
  "luminance": 0.11095
}

Semantic roles & 50–950 ramp

primary
#6D45BB
secondary
#B6C894
accent
#D652A9
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6D45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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