#6A4AE9#6A4AE9

#6A4AE9 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.226 H 285.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6A4AE9
RGBrgb(106, 74, 233)
HSLhsl(252, 78%, 60%)
HSVhsv(252, 68%, 91%)
CMYKcmyk(54.5%, 68.2%, 0%, 8.6%)
CIE-LABlab(44.01, 53.36, -75.90)
CIE-LCHlch(44.01, 92.78, 305.11°)
OKLaboklab(54.04% 0.0593 -0.2183)
OKLCHoklch(54.04% 0.226 285.2)
XYZxyz(23.0962, 13.8436, 78.5301)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4AE9 #C9E94A
analogous
#4A7AE9 #6A4AE9 #B94AE9
triadic
#6A4AE9 #E96A4A #4AE96A
tetradic
#6A4AE9 #E94A7A #C9E94A #4AE9B9
square
#6A4AE9 #E94A7A #C9E94A #4AE9B9
split-complementary
#6A4AE9 #E9B94A #7AE94A
monochromatic
#3114A5 #411BDB #6A4AE9 #9781F0 #C4B7F6

Accessibility & contrast

On white

5.57
#6A4AE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6A4AE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4AE9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4AE9#FFFFFF#000000##FFFFFF
##6A4AE91.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#307394
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a4ae9;
/* rgb */ color: rgb(106, 74, 233);
/* oklch */ color: oklch(54.0% 0.226 285.2);
Tailwind
colors: {
  custom: {
    50: '#a07ff1',
    500: '#6a4ae9',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ae9;
$custom-light: #a07ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ae9",
  "rgb": {
    "r": 106,
    "g": 74,
    "b": 233
  },
  "hsl": {
    "h": 252.075,
    "s": 78.325,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.22617,
    "h": 285.2
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

primary
#6A4AE9
secondary
#DAE6A9
accent
#DB0BB1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A4AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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