#6D45D7#6D45D7

#6D45D7 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.211 H 289.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6D45D7
RGBrgb(109, 69, 215)
HSLhsl(256, 65%, 56%)
HSVhsv(256, 68%, 84%)
CMYKcmyk(49.3%, 67.9%, 0%, 15.7%)
CIE-LABlab(41.87, 51.39, -69.14)
CIE-LCHlch(41.87, 86.15, 306.63°)
OKLaboklab(52.12% 0.0707 -0.1983)
OKLCHoklch(52.12% 0.211 289.6)
XYZxyz(20.6970, 12.4129, 65.5822)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45D7 #AFD745
analogous
#4566D7 #6D45D7 #B645D7
triadic
#6D45D7 #D76D45 #45D76D
tetradic
#6D45D7 #D74566 #AFD745 #45D7B6
square
#6D45D7 #D74566 #AFD745 #45D7B6
split-complementary
#6D45D7 #D7B645 #66D745
monochromatic
#391D85 #4F27B7 #6D45D7 #9577E2 #BCAAED

Accessibility & contrast

On white

6.03
#6D45D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6D45D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45D7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45D7#FFFFFF#000000##FFFFFF
##6D45D71.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#496A89
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d45d7;
/* rgb */ color: rgb(109, 69, 215);
/* oklch */ color: oklch(52.1% 0.211 289.6);
Tailwind
colors: {
  custom: {
    50: '#a07be4',
    500: '#6d45d7',
    950: '#000000',
  },
}
SCSS
$custom: #6d45d7;
$custom-light: #a07be4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45d7",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 256.438,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52124,
    "c": 0.21054,
    "h": 289.6
  },
  "luminance": 0.12414
}

Semantic roles & 50–950 ramp

primary
#6D45D7
secondary
#CADA9E
accent
#E840BA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D45D7

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

Preview Lab → · Contrast checker → · Palette generator →

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