#6A4280#6A4280

#6A4280 is a mid, moderate violet. Relative luminance 0.085; OKLCH L 45.2% C 0.107 H 312.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6A4280
RGBrgb(106, 66, 128)
HSLhsl(279, 32%, 38%)
HSVhsv(279, 48%, 50%)
CMYKcmyk(17.2%, 48.4%, 0%, 49.8%)
CIE-LABlab(35.04, 29.34, -28.35)
CIE-LCHlch(35.04, 40.80, 315.98°)
OKLaboklab(45.21% 0.0724 -0.0788)
OKLCHoklch(45.21% 0.107 312.5)
XYZxyz(11.7877, 8.5194, 21.4413)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4280 #588042
analogous
#4B4280 #6A4280 #804277
triadic
#6A4280 #806A42 #42806A
tetradic
#6A4280 #804B42 #588042 #427780
square
#6A4280 #804B42 #588042 #427780
split-complementary
#6A4280 #778042 #42804B
monochromatic
#27182F #492D58 #6A4280 #8B57A8 #A77FBD

Accessibility & contrast

On white

7.77
#6A4280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6A4280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A4280
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4280#FFFFFF#000000##FFFFFF
##6A42801.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355082
Deuteranopia (green-blind)
#40537E
Tritanopia (blue-blind)
#684B5B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6a4280;
/* rgb */ color: rgb(106, 66, 128);
/* oklch */ color: oklch(45.2% 0.107 312.5);
Tailwind
colors: {
  custom: {
    50: '#9677a5',
    500: '#6a4280',
    950: '#000000',
  },
}
SCSS
$custom: #6a4280;
$custom-light: #9677a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4280",
  "rgb": {
    "r": 106,
    "g": 66,
    "b": 128
  },
  "hsl": {
    "h": 278.71,
    "s": 31.959,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45208,
    "c": 0.10703,
    "h": 312.5
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#6A4280
secondary
#88A876
accent
#C86085
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D090F
muted
#7E7B7F

Preview Lab

Preview with #6A4280

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

Preview Lab → · Contrast checker → · Palette generator →

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