#6B45BF#6B45BF

#6B45BF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.0% C 0.182 H 293.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6B45BF
RGBrgb(107, 69, 191)
HSLhsl(259, 49%, 51%)
HSVhsv(259, 64%, 75%)
CMYKcmyk(44%, 63.9%, 0%, 25.1%)
CIE-LABlab(39.82, 44.35, -58.57)
CIE-LCHlch(39.82, 73.47, 307.13°)
OKLaboklab(50.03% 0.071 -0.1673)
OKLCHoklch(50.03% 0.182 293)
XYZxyz(17.5929, 11.1431, 50.5040)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B45BF #99BF45
analogous
#455CBF #6B45BF #A845BF
triadic
#6B45BF #BF6B45 #45BF6B
tetradic
#6B45BF #BF455C #99BF45 #45BFA8
square
#6B45BF #BF455C #99BF45 #45BFA8
split-complementary
#6B45BF #BFA845 #5CBF45
monochromatic
#382366 #513394 #6B45BF #8F73CF #B3A0DE

Accessibility & contrast

On white

6.50
#6B45BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6B45BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B45BF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B45BF#FFFFFF#000000##FFFFFF
##6B45BF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#53617C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b45bf;
/* rgb */ color: rgb(107, 69, 191);
/* oklch */ color: oklch(50.0% 0.182 293.0);
Tailwind
colors: {
  custom: {
    50: '#9c7bd3',
    500: '#6b45bf',
    950: '#000000',
  },
}
SCSS
$custom: #6b45bf;
$custom-light: #9c7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b45bf",
  "rgb": {
    "r": 107,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 258.689,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50028,
    "c": 0.18179,
    "h": 293
  },
  "luminance": 0.11144
}

Semantic roles & 50–950 ramp

primary
#6B45BF
secondary
#BACB95
accent
#D84FAE
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6B45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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