#6A4EBE#6A4EBE

#6A4EBE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.168 H 290.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6A4EBE
RGBrgb(106, 78, 190)
HSLhsl(255, 46%, 53%)
HSVhsv(255, 59%, 75%)
CMYKcmyk(44.2%, 58.9%, 0%, 25.5%)
CIE-LABlab(41.58, 38.73, -55.15)
CIE-LCHlch(41.58, 67.39, 305.08°)
OKLaboklab(51.26% 0.0596 -0.1573)
OKLCHoklch(51.26% 0.168 290.8)
XYZxyz(17.9599, 12.2301, 50.1196)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4EBE #A2BE4E
analogous
#4E6ABE #6A4EBE #A24EBE
triadic
#6A4EBE #BE6A4E #4EBE6A
tetradic
#6A4EBE #BE4E6A #A2BE4E #4EBEA2
square
#6A4EBE #BE4E6A #A2BE4E #4EBEA2
split-complementary
#6A4EBE #BEA24E #6ABE4E
monochromatic
#38276A #4F3897 #6A4EBE #907BCE #B5A8DF

Accessibility & contrast

On white

6.09
#6A4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6A4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4EBE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4EBE#FFFFFF#000000##FFFFFF
##6A4EBE1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#0460BC
Tritanopia (blue-blind)
#51677E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a4ebe;
/* rgb */ color: rgb(106, 78, 190);
/* oklch */ color: oklch(51.3% 0.168 290.8);
Tailwind
colors: {
  custom: {
    50: '#9a81d2',
    500: '#6a4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ebe;
$custom-light: #9a81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ebe",
  "rgb": {
    "r": 106,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 255,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51264,
    "c": 0.16822,
    "h": 290.8
  },
  "luminance": 0.12231
}

Semantic roles & 50–950 ramp

primary
#6A4EBE
secondary
#C0CC9C
accent
#D652B5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6A4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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