#6D45DC#6D45DC

#6D45DC is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.216 H 288.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6D45DC
RGBrgb(109, 69, 220)
HSLhsl(256, 68%, 57%)
HSVhsv(256, 69%, 86%)
CMYKcmyk(50.5%, 68.6%, 0%, 13.7%)
CIE-LABlab(42.27, 52.78, -71.34)
CIE-LCHlch(42.27, 88.75, 306.50°)
OKLaboklab(52.54% 0.0699 -0.2048)
OKLCHoklch(52.54% 0.216 288.8)
XYZxyz(21.3493, 12.6738, 69.0176)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45DC #B4DC45
analogous
#4569DC #6D45DC #B945DC
triadic
#6D45DC #DC6D45 #45DC6D
tetradic
#6D45DC #DC4569 #B4DC45 #45DCB9
square
#6D45DC #DC4569 #B4DC45 #45DCB9
split-complementary
#6D45DC #DCB945 #69DC45
monochromatic
#391A8C #4D24C0 #6D45DC #9579E6 #BEACEF

Accessibility & contrast

On white

5.94
#6D45DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6D45DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45DC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45DC#FFFFFF#000000##FFFFFF
##6D45DC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#456C8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6d45dc;
/* rgb */ color: rgb(109, 69, 220);
/* oklch */ color: oklch(52.5% 0.216 288.8);
Tailwind
colors: {
  custom: {
    50: '#a07ce8',
    500: '#6d45dc',
    950: '#000000',
  },
}
SCSS
$custom: #6d45dc;
$custom-light: #a07ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45dc",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 255.894,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52537,
    "c": 0.21639,
    "h": 288.8
  },
  "luminance": 0.12675
}

Semantic roles & 50–950 ramp

primary
#6D45DC
secondary
#CDDDA0
accent
#EB3DBD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D45DC

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

Preview Lab → · Contrast checker → · Palette generator →

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