#6D45CF#6D45CF

#6D45CF is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.5% C 0.201 H 291.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6D45CF
RGBrgb(109, 69, 207)
HSLhsl(257, 59%, 54%)
HSVhsv(257, 67%, 81%)
CMYKcmyk(47.3%, 66.7%, 0%, 18.8%)
CIE-LABlab(41.23, 49.17, -65.56)
CIE-LCHlch(41.23, 81.95, 306.87°)
OKLaboklab(51.48% 0.0719 -0.1878)
OKLCHoklch(51.48% 0.201 291)
XYZxyz(19.6941, 12.0117, 60.3002)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45CF #A7CF45
analogous
#4562CF #6D45CF #B245CF
triadic
#6D45CF #CF6D45 #45CF6D
tetradic
#6D45CF #CF4562 #A7CF45 #45CFB2
square
#6D45CF #CF4562 #A7CF45 #45CFB2
split-complementary
#6D45CF #CFB245 #62CF45
monochromatic
#3A207A #512CAB #6D45CF #9376DC #B9A6E8

Accessibility & contrast

On white

6.17
#6D45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6D45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45CF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45CF#FFFFFF#000000##FFFFFF
##6D45CF1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#4E6784
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6d45cf;
/* rgb */ color: rgb(109, 69, 207);
/* oklch */ color: oklch(51.5% 0.201 291.0);
Tailwind
colors: {
  custom: {
    50: '#9f7bdf',
    500: '#6d45cf',
    950: '#000000',
  },
}
SCSS
$custom: #6d45cf;
$custom-light: #9f7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45cf",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 257.391,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.20111,
    "h": 291
  },
  "luminance": 0.12012
}

Semantic roles & 50–950 ramp

primary
#6D45CF
secondary
#C4D59B
accent
#E246B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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