#6A4D99#6A4D99

#6A4D99 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.6% C 0.121 H 299.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#6A4D99
RGBrgb(106, 77, 153)
HSLhsl(263, 33%, 45%)
HSVhsv(263, 50%, 60%)
CMYKcmyk(30.7%, 49.7%, 0%, 40%)
CIE-LABlab(39.02, 29.05, -37.32)
CIE-LCHlch(39.02, 47.29, 307.90°)
OKLaboklab(48.62% 0.0594 -0.105)
OKLCHoklch(48.62% 0.121 299.5)
XYZxyz(14.3461, 10.6717, 31.4349)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4D99 #7C994D
analogous
#4D5699 #6A4D99 #904D99
triadic
#6A4D99 #996A4D #4D996A
tetradic
#6A4D99 #994D56 #7C994D #4D9990
square
#6A4D99 #994D56 #7C994D #4D9990
split-complementary
#6A4D99 #99904D #56994D
monochromatic
#322448 #4E3970 #6A4D99 #896DB6 #AA96CA

Accessibility & contrast

On white

6.70
#6A4D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6A4D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4D99
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4D99#FFFFFF#000000##FFFFFF
##6A4D991.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#3B5B97
Tritanopia (blue-blind)
#615B6C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a4d99;
/* rgb */ color: rgb(106, 77, 153);
/* oklch */ color: oklch(48.6% 0.121 299.5);
Tailwind
colors: {
  custom: {
    50: '#977fb7',
    500: '#6a4d99',
    950: '#000000',
  },
}
SCSS
$custom: #6a4d99;
$custom-light: #977fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4d99",
  "rgb": {
    "r": 106,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 262.895,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48624,
    "c": 0.12063,
    "h": 299.5
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

primary
#6A4D99
secondary
#A6B78B
accent
#C95FA1
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6A4D99

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

Preview Lab → · Contrast checker → · Palette generator →

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