#6D45D9#6D45D9

#6D45D9 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.213 H 289.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#6D45D9
RGBrgb(109, 69, 217)
HSLhsl(256, 66%, 56%)
HSVhsv(256, 68%, 85%)
CMYKcmyk(49.8%, 68.2%, 0%, 14.9%)
CIE-LABlab(42.03, 51.95, -70.02)
CIE-LCHlch(42.03, 87.19, 306.57°)
OKLaboklab(52.29% 0.0704 -0.2009)
OKLCHoklch(52.29% 0.213 289.3)
XYZxyz(20.9556, 12.5163, 66.9439)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45D9 #B1D945
analogous
#4567D9 #6D45D9 #B745D9
triadic
#6D45D9 #D96D45 #45D96D
tetradic
#6D45D9 #D94567 #B1D945 #45D9B7
square
#6D45D9 #D94567 #B1D945 #45D9B7
split-complementary
#6D45D9 #D9B745 #67D945
monochromatic
#391C88 #4E26BB #6D45D9 #9578E3 #BDABEE

Accessibility & contrast

On white

5.99
#6D45D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6D45D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45D9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45D9#FFFFFF#000000##FFFFFF
##6D45D91.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#476B8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d45d9;
/* rgb */ color: rgb(109, 69, 217);
/* oklch */ color: oklch(52.3% 0.213 289.3);
Tailwind
colors: {
  custom: {
    50: '#a07ce6',
    500: '#6d45d9',
    950: '#000000',
  },
}
SCSS
$custom: #6d45d9;
$custom-light: #a07ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45d9",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 256.216,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52288,
    "c": 0.21289,
    "h": 289.3
  },
  "luminance": 0.12517
}

Semantic roles & 50–950 ramp

primary
#6D45D9
secondary
#CBDB9E
accent
#E93FBB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D45D9

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

Preview Lab → · Contrast checker → · Palette generator →

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