#6B45BB#6B45BB

#6B45BB is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.177 H 293.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#6B45BB
RGBrgb(107, 69, 187)
HSLhsl(259, 46%, 50%)
HSVhsv(259, 63%, 73%)
CMYKcmyk(42.8%, 63.1%, 0%, 26.7%)
CIE-LABlab(39.53, 43.24, -56.70)
CIE-LCHlch(39.53, 71.31, 307.33°)
OKLaboklab(49.73% 0.0714 -0.1618)
OKLCHoklch(49.73% 0.177 293.8)
XYZxyz(17.1587, 10.9694, 48.2173)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B45BB #95BB45
analogous
#455ABB #6B45BB #A645BB
triadic
#6B45BB #BB6B45 #45BB6B
tetradic
#6B45BB #BB455A #95BB45 #45BBA6
square
#6B45BB #BB455A #95BB45 #45BBA6
split-complementary
#6B45BB #BBA645 #5ABB45
monochromatic
#382462 #51348F #6B45BB #8F72CB #B29FDC

Accessibility & contrast

On white

6.57
#6B45BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6B45BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B45BB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B45BB#FFFFFF#000000##FFFFFF
##6B45BB1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#556079
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6b45bb;
/* rgb */ color: rgb(107, 69, 187);
/* oklch */ color: oklch(49.7% 0.177 293.8);
Tailwind
colors: {
  custom: {
    50: '#9b7bd0',
    500: '#6b45bb',
    950: '#000000',
  },
}
SCSS
$custom: #6b45bb;
$custom-light: #9b7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b45bb",
  "rgb": {
    "r": 107,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 259.322,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49725,
    "c": 0.17688,
    "h": 293.8
  },
  "luminance": 0.1097
}

Semantic roles & 50–950 ramp

primary
#6B45BB
secondary
#B7C894
accent
#D652AB
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6B45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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