#6A4AE5#6A4AE5

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

Color values

HEX#6A4AE5
RGBrgb(106, 74, 229)
HSLhsl(252, 75%, 59%)
HSVhsv(252, 68%, 90%)
CMYKcmyk(53.7%, 67.7%, 0%, 10.2%)
CIE-LABlab(43.68, 52.21, -74.17)
CIE-LCHlch(43.68, 90.70, 305.14°)
OKLaboklab(53.71% 0.06 -0.2132)
OKLCHoklch(53.71% 0.221 285.7)
XYZxyz(22.5312, 13.6176, 75.5548)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4AE5 #C5E54A
analogous
#4A78E5 #6A4AE5 #B84AE5
triadic
#6A4AE5 #E56A4A #4AE56A
tetradic
#6A4AE5 #E54A78 #C5E54A #4AE5B8
square
#6A4AE5 #E54A78 #C5E54A #4AE5B8
split-complementary
#6A4AE5 #E5B84A #78E54A
monochromatic
#33179E #441ED3 #6A4AE5 #9680ED #C2B5F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A4AE5#FFFFFF#000000##FFFFFF
##6A4AE51.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#357292
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a4ae5;
/* rgb */ color: rgb(106, 74, 229);
/* oklch */ color: oklch(53.7% 0.221 285.7);
Tailwind
colors: {
  custom: {
    50: '#a07fee',
    500: '#6a4ae5',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ae5;
$custom-light: #a07fee;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ae5",
  "rgb": {
    "r": 106,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 252.387,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53707,
    "c": 0.22146,
    "h": 285.7
  },
  "luminance": 0.13619
}

Semantic roles & 50–950 ramp

primary
#6A4AE5
secondary
#D7E4A7
accent
#F136CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A4AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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