#6A4EAF#6A4EAF

#6A4EAF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.149 H 293.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6A4EAF
RGBrgb(106, 78, 175)
HSLhsl(257, 38%, 50%)
HSVhsv(257, 55%, 69%)
CMYKcmyk(39.4%, 55.4%, 0%, 31.4%)
CIE-LABlab(40.59, 34.48, -47.94)
CIE-LCHlch(40.59, 59.05, 305.72°)
OKLaboklab(50.22% 0.0596 -0.1361)
OKLCHoklch(50.22% 0.149 293.7)
XYZxyz(16.4041, 11.6077, 41.9254)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4EAF #93AF4E
analogous
#4E62AF #6A4EAF #9B4EAF
triadic
#6A4EAF #AF6A4E #4EAF6A
tetradic
#6A4EAF #AF4E62 #93AF4E #4EAF9B
square
#6A4EAF #AF4E62 #93AF4E #4EAF9B
split-complementary
#6A4EAF #AF9B4E #62AF4E
monochromatic
#37285A #503B85 #6A4EAF #8D78C3 #B1A2D6

Accessibility & contrast

On white

6.32
#6A4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6A4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4EAF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4EAF#FFFFFF#000000##FFFFFF
##6A4EAF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#285EAD
Tritanopia (blue-blind)
#586277
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6a4eaf;
/* rgb */ color: rgb(106, 78, 175);
/* oklch */ color: oklch(50.2% 0.149 293.7);
Tailwind
colors: {
  custom: {
    50: '#9980c7',
    500: '#6a4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #6a4eaf;
$custom-light: #9980c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4eaf",
  "rgb": {
    "r": 106,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 257.32,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50215,
    "c": 0.14859,
    "h": 293.7
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#6A4EAF
secondary
#B6C396
accent
#CE5AAD
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6A4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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