#6D45E4#6D45E4

#6D45E4 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.226 H 287.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6D45E4
RGBrgb(109, 69, 228)
HSLhsl(255, 75%, 58%)
HSVhsv(255, 70%, 89%)
CMYKcmyk(52.2%, 69.7%, 0%, 10.6%)
CIE-LABlab(42.93, 55.01, -74.82)
CIE-LCHlch(42.93, 92.87, 306.33°)
OKLaboklab(53.21% 0.0685 -0.215)
OKLCHoklch(53.21% 0.226 287.7)
XYZxyz(22.4343, 13.1078, 74.7317)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45E4 #BCE445
analogous
#456CE4 #6D45E4 #BC45E4
triadic
#6D45E4 #E46D45 #45E46D
tetradic
#6D45E4 #E4456C #BCE445 #45E4BC
square
#6D45E4 #E4456C #BCE445 #45E4BC
split-complementary
#6D45E4 #E4BC45 #6CE445
monochromatic
#371698 #4A1ECE #6D45E4 #977AEC #C1B0F4

Accessibility & contrast

On white

5.80
#6D45E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6D45E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45E4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45E4#FFFFFF#000000##FFFFFF
##6D45E41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#3E6F90
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d45e4;
/* rgb */ color: rgb(109, 69, 228);
/* oklch */ color: oklch(53.2% 0.226 287.7);
Tailwind
colors: {
  custom: {
    50: '#a17cee',
    500: '#6d45e4',
    950: '#000000',
  },
}
SCSS
$custom: #6d45e4;
$custom-light: #a17cee;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45e4",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 228
  },
  "hsl": {
    "h": 255.094,
    "s": 74.648,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53209,
    "c": 0.22564,
    "h": 287.7
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#6D45E4
secondary
#D2E2A3
accent
#F137C2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D45E4

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

Preview Lab → · Contrast checker → · Palette generator →

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