#6D45BF#6D45BF

#6D45BF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.2% C 0.182 H 293.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6D45BF
RGBrgb(109, 69, 191)
HSLhsl(260, 49%, 51%)
HSVhsv(260, 64%, 75%)
CMYKcmyk(42.9%, 63.9%, 0%, 25.1%)
CIE-LABlab(40.03, 44.75, -58.23)
CIE-LCHlch(40.03, 73.44, 307.55°)
OKLaboklab(50.23% 0.0738 -0.1662)
OKLCHoklch(50.23% 0.182 293.9)
XYZxyz(17.8362, 11.2686, 50.5154)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45BF #97BF45
analogous
#455ABF #6D45BF #AA45BF
triadic
#6D45BF #BF6D45 #45BF6D
tetradic
#6D45BF #BF455A #97BF45 #45BFAA
square
#6D45BF #BF455A #97BF45 #45BFAA
split-complementary
#6D45BF #BFAA45 #5ABF45
monochromatic
#392366 #533394 #6D45BF #9173CF #B4A0DE

Accessibility & contrast

On white

6.45
#6D45BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6D45BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45BF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45BF#FFFFFF#000000##FFFFFF
##6D45BF1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#57617C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6d45bf;
/* rgb */ color: rgb(109, 69, 191);
/* oklch */ color: oklch(50.2% 0.182 293.9);
Tailwind
colors: {
  custom: {
    50: '#9d7bd3',
    500: '#6d45bf',
    950: '#000000',
  },
}
SCSS
$custom: #6d45bf;
$custom-light: #9d7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45bf",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 259.672,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50228,
    "c": 0.18189,
    "h": 293.9
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#6D45BF
secondary
#B9CB95
accent
#D84FAB
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6D45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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