#6A3C80#6A3C80

#6A3C80 is a dark, moderate purple. Relative luminance 0.079; OKLCH L 44.2% C 0.118 H 313.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#6A3C80
RGBrgb(106, 60, 128)
HSLhsl(281, 36%, 37%)
HSVhsv(281, 53%, 50%)
CMYKcmyk(17.2%, 53.1%, 0%, 49.8%)
CIE-LABlab(33.68, 32.85, -30.50)
CIE-LCHlch(33.68, 44.83, 317.12°)
OKLaboklab(44.2% 0.0815 -0.085)
OKLCHoklch(44.2% 0.118 313.8)
XYZxyz(11.4554, 7.8547, 21.3306)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3C80 #52803C
analogous
#483C80 #6A3C80 #803C74
triadic
#6A3C80 #806A3C #3C806A
tetradic
#6A3C80 #80483C #52803C #3C7480
square
#6A3C80 #80483C #52803C #3C7480
split-complementary
#6A3C80 #74803C #3C8048
monochromatic
#25152D #472856 #6A3C80 #8D50AA #A877BF

Accessibility & contrast

On white

8.17
#6A3C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6A3C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3C80
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3C80#FFFFFF#000000##FFFFFF
##6A3C801.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D82
Deuteranopia (green-blind)
#3A507E
Tritanopia (blue-blind)
#684758
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a3c80;
/* rgb */ color: rgb(106, 60, 128);
/* oklch */ color: oklch(44.2% 0.118 313.8);
Tailwind
colors: {
  custom: {
    50: '#9673a5',
    500: '#6a3c80',
    950: '#000000',
  },
}
SCSS
$custom: #6a3c80;
$custom-light: #9673a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3c80",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 128
  },
  "hsl": {
    "h": 280.588,
    "s": 36.17,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44196,
    "c": 0.11777,
    "h": 313.8
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#6A3C80
secondary
#82A96F
accent
#CC5C80
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E080F
muted
#7E7B7F

Preview Lab

Preview with #6A3C80

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

Preview Lab → · Contrast checker → · Palette generator →

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