#6D45E5#6D45E5

#6D45E5 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.227 H 287.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6D45E5
RGBrgb(109, 69, 229)
HSLhsl(255, 75%, 58%)
HSVhsv(255, 70%, 90%)
CMYKcmyk(52.4%, 69.9%, 0%, 10.2%)
CIE-LABlab(43.01, 55.29, -75.25)
CIE-LCHlch(43.01, 93.38, 306.31°)
OKLaboklab(53.29% 0.0683 -0.2163)
OKLCHoklch(53.29% 0.227 287.5)
XYZxyz(22.5735, 13.1635, 75.4649)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45E5 #BDE545
analogous
#456DE5 #6D45E5 #BD45E5
triadic
#6D45E5 #E56D45 #45E56D
tetradic
#6D45E5 #E5456D #BDE545 #45E5BD
square
#6D45E5 #E5456D #BDE545 #45E5BD
split-complementary
#6D45E5 #E5BD45 #6DE545
monochromatic
#37169A #4A1DD0 #6D45E5 #977BED #C1B0F4

Accessibility & contrast

On white

5.78
#6D45E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6D45E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45E5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45E5#FFFFFF#000000##FFFFFF
##6D45E51.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#3D6F90
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d45e5;
/* rgb */ color: rgb(109, 69, 229);
/* oklch */ color: oklch(53.3% 0.227 287.5);
Tailwind
colors: {
  custom: {
    50: '#a27cee',
    500: '#6d45e5',
    950: '#000000',
  },
}
SCSS
$custom: #6d45e5;
$custom-light: #a27cee;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45e5",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 255,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53294,
    "c": 0.22679,
    "h": 287.5
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#6D45E5
secondary
#D3E3A3
accent
#F236C3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D45E5

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

Preview Lab → · Contrast checker → · Palette generator →

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