#6A4E82#6A4E82

#6A4E82 is a mid, moderate violet. Relative luminance 0.101; OKLCH L 47.5% C 0.087 H 308.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#6A4E82
RGBrgb(106, 78, 130)
HSLhsl(272, 25%, 41%)
HSVhsv(272, 40%, 51%)
CMYKcmyk(18.5%, 40%, 0%, 49%)
CIE-LABlab(38.07, 22.56, -24.85)
CIE-LCHlch(38.07, 33.56, 312.23°)
OKLaboklab(47.51% 0.054 -0.0688)
OKLCHoklch(47.51% 0.087 308.1)
XYZxyz(12.6967, 10.1248, 22.4002)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4E82 #66824E
analogous
#504E82 #6A4E82 #824E80
triadic
#6A4E82 #826A4E #4E826A
tetradic
#6A4E82 #82504E #66824E #4E8082
square
#6A4E82 #82504E #66824E #4E8082
split-complementary
#6A4E82 #80824E #4E8250
monochromatic
#2C2035 #4B375C #6A4E82 #8968A5 #A78FBC

Accessibility & contrast

On white

6.94
#6A4E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6A4E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4E82
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4E82#FFFFFF#000000##FFFFFF
##6A4E821.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435884
Deuteranopia (green-blind)
#4A5A81
Tritanopia (blue-blind)
#675662
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a4e82;
/* rgb */ color: rgb(106, 78, 130);
/* oklch */ color: oklch(47.5% 0.087 308.1);
Tailwind
colors: {
  custom: {
    50: '#9580a6',
    500: '#6a4e82',
    950: '#000000',
  },
}
SCSS
$custom: #6a4e82;
$custom-light: #9580a6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4e82",
  "rgb": {
    "r": 106,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 272.308,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47513,
    "c": 0.08746,
    "h": 308.1
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#6A4E82
secondary
#94A884
accent
#C16690
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0A0F
muted
#7E7C7F

Preview Lab

Preview with #6A4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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