#6D45D2#6D45D2

#6D45D2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.7% C 0.205 H 290.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6D45D2
RGBrgb(109, 69, 210)
HSLhsl(257, 61%, 55%)
HSVhsv(257, 67%, 82%)
CMYKcmyk(48.1%, 67.1%, 0%, 17.6%)
CIE-LABlab(41.47, 50.00, -66.91)
CIE-LCHlch(41.47, 83.53, 306.77°)
OKLaboklab(51.72% 0.0715 -0.1918)
OKLCHoklch(51.72% 0.205 290.4)
XYZxyz(20.0643, 12.1598, 62.2502)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45D2 #AAD245
analogous
#4564D2 #6D45D2 #B345D2
triadic
#6D45D2 #D26D45 #45D26D
tetradic
#6D45D2 #D24564 #AAD245 #45D2B3
square
#6D45D2 #D24564 #AAD245 #45D2B3
split-complementary
#6D45D2 #D2B345 #64D245
monochromatic
#3A1F7E #502AAF #6D45D2 #9476DE #BAA8EA

Accessibility & contrast

On white

6.12
#6D45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6D45D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45D2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45D2#FFFFFF#000000##FFFFFF
##6D45D21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#4C6886
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6d45d2;
/* rgb */ color: rgb(109, 69, 210);
/* oklch */ color: oklch(51.7% 0.205 290.4);
Tailwind
colors: {
  custom: {
    50: '#9f7be1',
    500: '#6d45d2',
    950: '#000000',
  },
}
SCSS
$custom: #6d45d2;
$custom-light: #9f7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45d2",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 257.021,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.20466,
    "h": 290.4
  },
  "luminance": 0.12161
}

Semantic roles & 50–950 ramp

primary
#6D45D2
secondary
#C6D79C
accent
#E444B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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