#6A4698#6A4698

#6A4698 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.3% C 0.131 H 301.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#6A4698
RGBrgb(106, 70, 152)
HSLhsl(266, 37%, 44%)
HSVhsv(266, 54%, 60%)
CMYKcmyk(30.3%, 53.9%, 0%, 40.4%)
CIE-LABlab(37.32, 32.97, -39.43)
CIE-LCHlch(37.32, 51.39, 309.90°)
OKLaboklab(47.34% 0.0692 -0.1111)
OKLCHoklch(47.34% 0.131 301.9)
XYZxyz(13.8002, 9.7115, 30.8471)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4698 #749846
analogous
#464B98 #6A4698 #934698
triadic
#6A4698 #986A46 #46986A
tetradic
#6A4698 #98464B #749846 #469893
square
#6A4698 #98464B #749846 #469893
split-complementary
#6A4698 #989346 #4B9846
monochromatic
#301F44 #4D336E #6A4698 #8864B7 #A88ECB

Accessibility & contrast

On white

7.14
#6A4698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6A4698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A4698
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4698#FFFFFF#000000##FFFFFF
##6A46981.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579B
Deuteranopia (green-blind)
#345796
Tritanopia (blue-blind)
#615668
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a4698;
/* rgb */ color: rgb(106, 70, 152);
/* oklch */ color: oklch(47.3% 0.131 301.9);
Tailwind
colors: {
  custom: {
    50: '#977ab7',
    500: '#6a4698',
    950: '#000000',
  },
}
SCSS
$custom: #6a4698;
$custom-light: #977ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4698",
  "rgb": {
    "r": 106,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 266.341,
    "s": 36.937,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4734,
    "c": 0.13088,
    "h": 301.9
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#6A4698
secondary
#A0B684
accent
#CD5B9B
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6A4698

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

Preview Lab → · Contrast checker → · Palette generator →

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