#6D45D6#6D45D6

#6D45D6 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.0% C 0.209 H 289.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6D45D6
RGBrgb(109, 69, 214)
HSLhsl(257, 64%, 55%)
HSVhsv(257, 68%, 84%)
CMYKcmyk(49.1%, 67.8%, 0%, 16.1%)
CIE-LABlab(41.79, 51.11, -68.69)
CIE-LCHlch(41.79, 85.62, 306.65°)
OKLaboklab(52.04% 0.0709 -0.197)
OKLCHoklch(52.04% 0.209 289.8)
XYZxyz(20.5689, 12.3616, 64.9075)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45D6 #AED645
analogous
#4565D6 #6D45D6 #B645D6
triadic
#6D45D6 #D66D45 #45D66D
tetradic
#6D45D6 #D64565 #AED645 #45D6B6
square
#6D45D6 #D64565 #AED645 #45D6B6
split-complementary
#6D45D6 #D6B645 #65D645
monochromatic
#391D84 #4F28B6 #6D45D6 #9477E1 #BCA9EC

Accessibility & contrast

On white

6.05
#6D45D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6D45D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45D6
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45D6#FFFFFF#000000##FFFFFF
##6D45D61.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#496988
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d45d6;
/* rgb */ color: rgb(109, 69, 214);
/* oklch */ color: oklch(52.0% 0.209 289.8);
Tailwind
colors: {
  custom: {
    50: '#a07be4',
    500: '#6d45d6',
    950: '#000000',
  },
}
SCSS
$custom: #6d45d6;
$custom-light: #a07be4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45d6",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 256.552,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52042,
    "c": 0.20937,
    "h": 289.8
  },
  "luminance": 0.12362
}

Semantic roles & 50–950 ramp

primary
#6D45D6
secondary
#C9DA9D
accent
#E741B9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D45D6

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

Preview Lab → · Contrast checker → · Palette generator →

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