#6D45E6#6D45E6

#6D45E6 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.228 H 287.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6D45E6
RGBrgb(109, 69, 230)
HSLhsl(255, 76%, 59%)
HSVhsv(255, 70%, 90%)
CMYKcmyk(52.6%, 70%, 0%, 9.8%)
CIE-LABlab(43.09, 55.57, -75.69)
CIE-LCHlch(43.09, 93.90, 306.29°)
OKLaboklab(53.38% 0.0681 -0.2175)
OKLCHoklch(53.38% 0.228 287.4)
XYZxyz(22.7135, 13.2195, 76.2024)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45E6 #BEE645
analogous
#456DE6 #6D45E6 #BD45E6
triadic
#6D45E6 #E66D45 #45E66D
tetradic
#6D45E6 #E6456D #BEE645 #45E6BD
square
#6D45E6 #E6456D #BEE645 #45E6BD
split-complementary
#6D45E6 #E6BD45 #6DE645
monochromatic
#36159C #491CD2 #6D45E6 #977BED #C2B1F5

Accessibility & contrast

On white

5.76
#6D45E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6D45E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45E6
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45E6#FFFFFF#000000##FFFFFF
##6D45E61.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#3D6F91
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d45e6;
/* rgb */ color: rgb(109, 69, 230);
/* oklch */ color: oklch(53.4% 0.228 287.4);
Tailwind
colors: {
  custom: {
    50: '#a27cef',
    500: '#6d45e6',
    950: '#000000',
  },
}
SCSS
$custom: #6d45e6;
$custom-light: #a27cef;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45e6",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 254.907,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53379,
    "c": 0.22794,
    "h": 287.4
  },
  "luminance": 0.13221
}

Semantic roles & 50–950 ramp

primary
#6D45E6
secondary
#D3E3A4
accent
#F335C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D45E6

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

Preview Lab → · Contrast checker → · Palette generator →

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