#6C4AE3#6C4AE3

#6C4AE3 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.219 H 286.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6C4AE3
RGBrgb(108, 74, 227)
HSLhsl(253, 73%, 59%)
HSVhsv(253, 67%, 89%)
CMYKcmyk(52.4%, 67.4%, 0%, 11%)
CIE-LABlab(43.70, 51.96, -73.00)
CIE-LCHlch(43.70, 89.60, 305.44°)
OKLaboklab(53.71% 0.063 -0.2097)
OKLCHoklch(53.71% 0.219 286.7)
XYZxyz(22.4941, 13.6306, 74.1039)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4AE3 #C1E34A
analogous
#4A75E3 #6C4AE3 #B84AE3
triadic
#6C4AE3 #E36C4A #4AE36C
tetradic
#6C4AE3 #E34A75 #C1E34A #4AE3B8
square
#6C4AE3 #E34A75 #C1E34A #4AE3B8
split-complementary
#6C4AE3 #E3B84A #75E34A
monochromatic
#35189B #4720D0 #6C4AE3 #977FEB #C2B4F3

Accessibility & contrast

On white

5.64
#6C4AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6C4AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4AE3
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4AE3#FFFFFF#000000##FFFFFF
##6C4AE31.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#3C7191
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6c4ae3;
/* rgb */ color: rgb(108, 74, 227);
/* oklch */ color: oklch(53.7% 0.219 286.7);
Tailwind
colors: {
  custom: {
    50: '#a07fed',
    500: '#6c4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ae3;
$custom-light: #a07fed;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ae3",
  "rgb": {
    "r": 108,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 253.333,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53714,
    "c": 0.21893,
    "h": 286.7
  },
  "luminance": 0.13632
}

Semantic roles & 50–950 ramp

primary
#6C4AE3
secondary
#D5E2A6
accent
#F038C7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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