#6D4AE1#6D4AE1

#6D4AE1 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.6% C 0.216 H 287.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6D4AE1
RGBrgb(109, 74, 225)
HSLhsl(254, 72%, 59%)
HSVhsv(254, 67%, 88%)
CMYKcmyk(51.6%, 67.1%, 0%, 11.8%)
CIE-LABlab(43.63, 51.55, -71.97)
CIE-LCHlch(43.63, 88.53, 305.62°)
OKLaboklab(53.64% 0.0646 -0.2066)
OKLCHoklch(53.64% 0.217 287.4)
XYZxyz(22.3421, 13.5839, 72.6643)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4AE1 #BEE14A
analogous
#4A72E1 #6D4AE1 #B84AE1
triadic
#6D4AE1 #E16D4A #4AE16D
tetradic
#6D4AE1 #E14A72 #BEE14A #4AE1B8
square
#6D4AE1 #E14A72 #BEE14A #4AE1B8
split-complementary
#6D4AE1 #E1B84A #72E14A
monochromatic
#361997 #4922CC #6D4AE1 #977EEA #C2B3F2

Accessibility & contrast

On white

5.65
#6D4AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6D4AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4AE1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4AE1#FFFFFF#000000##FFFFFF
##6D4AE11.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#0063DE
Tritanopia (blue-blind)
#417090
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6d4ae1;
/* rgb */ color: rgb(109, 74, 225);
/* oklch */ color: oklch(53.6% 0.216 287.4);
Tailwind
colors: {
  custom: {
    50: '#a17feb',
    500: '#6d4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #6d4ae1;
$custom-light: #a17feb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4ae1",
  "rgb": {
    "r": 109,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 253.907,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.2165,
    "h": 287.4
  },
  "luminance": 0.13585
}

Semantic roles & 50–950 ramp

primary
#6D4AE1
secondary
#D3E1A6
accent
#EE39C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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