#6A4AAF#6A4AAF

#6A4AAF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.5% C 0.155 H 294.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#6A4AAF
RGBrgb(106, 74, 175)
HSLhsl(259, 41%, 49%)
HSVhsv(259, 58%, 69%)
CMYKcmyk(39.4%, 57.7%, 0%, 31.4%)
CIE-LABlab(39.68, 36.83, -49.40)
CIE-LCHlch(39.68, 61.62, 306.71°)
OKLaboklab(49.54% 0.0646 -0.1404)
OKLCHoklch(49.54% 0.155 294.7)
XYZxyz(16.1285, 11.0565, 41.8335)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4AAF #8FAF4A
analogous
#4A5DAF #6A4AAF #9D4AAF
triadic
#6A4AAF #AF6A4A #4AAF6A
tetradic
#6A4AAF #AF4A5D #8FAF4A #4AAF9D
square
#6A4AAF #AF4A5D #8FAF4A #4AAF9D
split-complementary
#6A4AAF #AF9D4A #5DAF4A
monochromatic
#362659 #503884 #6A4AAF #8C73C4 #AF9ED6

Accessibility & contrast

On white

6.54
#6A4AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6A4AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4AAF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4AAF#FFFFFF#000000##FFFFFF
##6A4AAF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125EB2
Deuteranopia (green-blind)
#205CAD
Tritanopia (blue-blind)
#596075
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a4aaf;
/* rgb */ color: rgb(106, 74, 175);
/* oklch */ color: oklch(49.5% 0.155 294.7);
Tailwind
colors: {
  custom: {
    50: '#997ec7',
    500: '#6a4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #6a4aaf;
$custom-light: #997ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4aaf",
  "rgb": {
    "r": 106,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 259.01,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49544,
    "c": 0.15456,
    "h": 294.7
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

primary
#6A4AAF
secondary
#B3C292
accent
#D057AA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6A4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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