#6C4AE1#6C4AE1

#6C4AE1 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.5% C 0.217 H 287.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#6C4AE1
RGBrgb(108, 74, 225)
HSLhsl(254, 72%, 59%)
HSVhsv(254, 67%, 88%)
CMYKcmyk(52%, 67.1%, 0%, 11.8%)
CIE-LABlab(43.54, 51.39, -72.12)
CIE-LCHlch(43.54, 88.55, 305.47°)
OKLaboklab(53.55% 0.0633 -0.2071)
OKLCHoklch(53.55% 0.217 287)
XYZxyz(22.2197, 13.5208, 72.6585)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4AE1 #BFE14A
analogous
#4A73E1 #6C4AE1 #B74AE1
triadic
#6C4AE1 #E16C4A #4AE16C
tetradic
#6C4AE1 #E14A73 #BFE14A #4AE1B7
square
#6C4AE1 #E14A73 #BFE14A #4AE1B7
split-complementary
#6C4AE1 #E1B74A #73E14A
monochromatic
#361997 #4822CC #6C4AE1 #977EEA #C1B3F2

Accessibility & contrast

On white

5.67
#6C4AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6C4AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4AE1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4AE1#FFFFFF#000000##FFFFFF
##6C4AE11.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c4ae1;
/* rgb */ color: rgb(108, 74, 225);
/* oklch */ color: oklch(53.5% 0.217 287.0);
Tailwind
colors: {
  custom: {
    50: '#a07feb',
    500: '#6c4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ae1;
$custom-light: #a07feb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ae1",
  "rgb": {
    "r": 108,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 253.51,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53549,
    "c": 0.21657,
    "h": 287
  },
  "luminance": 0.13522
}

Semantic roles & 50–950 ramp

primary
#6C4AE1
secondary
#D4E1A6
accent
#EE39C6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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