#6A4E8B#6A4E8B

#6A4E8B is a mid, moderate violet. Relative luminance 0.104; OKLCH L 48.0% C 0.100 H 304.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#6A4E8B
RGBrgb(106, 78, 139)
HSLhsl(268, 28%, 43%)
HSVhsv(268, 44%, 55%)
CMYKcmyk(23.7%, 43.9%, 0%, 45.5%)
CIE-LABlab(38.51, 24.80, -29.65)
CIE-LCHlch(38.51, 38.66, 309.91°)
OKLaboklab(48% 0.0559 -0.0827)
OKLCHoklch(48% 0.1 304.1)
XYZxyz(13.3275, 10.3771, 25.7219)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4E8B #6F8B4E
analogous
#4E508B #6A4E8B #894E8B
triadic
#6A4E8B #8B6A4E #4E8B6A
tetradic
#6A4E8B #8B4E50 #6F8B4E #4E8B89
square
#6A4E8B #8B4E50 #6F8B4E #4E8B89
split-complementary
#6A4E8B #8B894E #508B4E
monochromatic
#2E223D #4C3864 #6A4E8B #886BAC #A892C2

Accessibility & contrast

On white

6.83
#6A4E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6A4E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4E8B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4E8B#FFFFFF#000000##FFFFFF
##6A4E8B1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8D
Deuteranopia (green-blind)
#455B89
Tritanopia (blue-blind)
#655866
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a4e8b;
/* rgb */ color: rgb(106, 78, 139);
/* oklch */ color: oklch(48.0% 0.100 304.1);
Tailwind
colors: {
  custom: {
    50: '#9680ad',
    500: '#6a4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #6a4e8b;
$custom-light: #9680ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4e8b",
  "rgb": {
    "r": 106,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 267.541,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47995,
    "c": 0.09977,
    "h": 304.1
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

primary
#6A4E8B
secondary
#9CAE87
accent
#C46398
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #6A4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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