#6A4E98#6A4E98

#6A4E98 is a mid, moderate violet. Relative luminance 0.108; OKLCH L 48.7% C 0.118 H 299.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#6A4E98
RGBrgb(106, 78, 152)
HSLhsl(263, 32%, 45%)
HSVhsv(263, 49%, 60%)
CMYKcmyk(30.3%, 48.7%, 0%, 40.4%)
CIE-LABlab(39.21, 28.18, -36.42)
CIE-LCHlch(39.21, 46.05, 307.73°)
OKLaboklab(48.75% 0.0579 -0.1024)
OKLCHoklch(48.75% 0.118 299.5)
XYZxyz(14.3344, 10.7798, 31.0252)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4E98 #7C984E
analogous
#4E5798 #6A4E98 #8F4E98
triadic
#6A4E98 #986A4E #4E986A
tetradic
#6A4E98 #984E57 #7C984E #4E988F
square
#6A4E98 #984E57 #7C984E #4E988F
split-complementary
#6A4E98 #988F4E #57984E
monochromatic
#322447 #4E3970 #6A4E98 #896EB5 #AA97CA

Accessibility & contrast

On white

6.65
#6A4E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6A4E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4E98
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4E98#FFFFFF#000000##FFFFFF
##6A4E981.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#3D5C96
Tritanopia (blue-blind)
#615C6C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a4e98;
/* rgb */ color: rgb(106, 78, 152);
/* oklch */ color: oklch(48.7% 0.118 299.5);
Tailwind
colors: {
  custom: {
    50: '#9780b7',
    500: '#6a4e98',
    950: '#000000',
  },
}
SCSS
$custom: #6a4e98;
$custom-light: #9780b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4e98",
  "rgb": {
    "r": 106,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 262.703,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48745,
    "c": 0.11759,
    "h": 299.5
  },
  "luminance": 0.1078
}

Semantic roles & 50–950 ramp

primary
#6A4E98
secondary
#A6B68C
accent
#C85FA1
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6A4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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