#6D45BE#6D45BE

#6D45BE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.181 H 294.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6D45BE
RGBrgb(109, 69, 190)
HSLhsl(260, 48%, 51%)
HSVhsv(260, 64%, 75%)
CMYKcmyk(42.6%, 63.7%, 0%, 25.5%)
CIE-LABlab(39.96, 44.48, -57.76)
CIE-LCHlch(39.96, 72.90, 307.60°)
OKLaboklab(50.15% 0.0739 -0.1649)
OKLCHoklch(50.15% 0.181 294.1)
XYZxyz(17.7266, 11.2247, 49.9378)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45BE #96BE45
analogous
#4559BE #6D45BE #A945BE
triadic
#6D45BE #BE6D45 #45BE6D
tetradic
#6D45BE #BE4559 #96BE45 #45BEA9
square
#6D45BE #BE4559 #96BE45 #45BEA9
split-complementary
#6D45BE #BEA945 #59BE45
monochromatic
#392365 #533393 #6D45BE #9172CE #B4A0DE

Accessibility & contrast

On white

6.47
#6D45BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D45BE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45BE#FFFFFF#000000##FFFFFF
##6D45BE1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#57617B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6d45be;
/* rgb */ color: rgb(109, 69, 190);
/* oklch */ color: oklch(50.2% 0.181 294.1);
Tailwind
colors: {
  custom: {
    50: '#9d7bd2',
    500: '#6d45be',
    950: '#000000',
  },
}
SCSS
$custom: #6d45be;
$custom-light: #9d7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45be",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 259.835,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50152,
    "c": 0.18066,
    "h": 294.1
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#6D45BE
secondary
#B9CA95
accent
#D850AB
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6D45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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