#6A4EE4#6A4EE4

#6A4EE4 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.2% C 0.216 H 285.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6A4EE4
RGBrgb(106, 78, 228)
HSLhsl(251, 74%, 60%)
HSVhsv(251, 66%, 89%)
CMYKcmyk(53.5%, 65.8%, 0%, 10.6%)
CIE-LABlab(44.39, 49.75, -72.43)
CIE-LCHlch(44.39, 87.87, 304.48°)
OKLaboklab(54.2% 0.0566 -0.2081)
OKLCHoklch(54.2% 0.216 285.2)
XYZxyz(22.6676, 14.1131, 74.9134)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4EE4 #C8E44E
analogous
#4E7DE4 #6A4EE4 #B54EE4
triadic
#6A4EE4 #E46A4E #4EE46A
tetradic
#6A4EE4 #E44E7D #C8E44E #4EE4B5
square
#6A4EE4 #E44E7D #C8E44E #4EE4B5
split-complementary
#6A4EE4 #E4B54E #7DE44E
monochromatic
#32189F #4220D4 #6A4EE4 #9783EC #C3B8F4

Accessibility & contrast

On white

5.49
#6A4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6A4EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4EE4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4EE4#FFFFFF#000000##FFFFFF
##6A4EE41.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#367492
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a4ee4;
/* rgb */ color: rgb(106, 78, 228);
/* oklch */ color: oklch(54.2% 0.216 285.2);
Tailwind
colors: {
  custom: {
    50: '#9f81ee',
    500: '#6a4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ee4;
$custom-light: #9f81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ee4",
  "rgb": {
    "r": 106,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 251.2,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.54196,
    "c": 0.21565,
    "h": 285.2
  },
  "luminance": 0.14114
}

Semantic roles & 50–950 ramp

primary
#6A4EE4
secondary
#D9E4AA
accent
#F038CE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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