#6A3C8A#6A3C8A

#6A3C8A is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.8% C 0.130 H 309.3°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6A3C8A
RGBrgb(106, 60, 138)
HSLhsl(275, 39%, 39%)
HSVhsv(275, 57%, 54%)
CMYKcmyk(23.2%, 56.5%, 0%, 45.9%)
CIE-LABlab(34.25, 35.23, -35.77)
CIE-LCHlch(34.25, 50.21, 314.57°)
OKLaboklab(44.81% 0.0823 -0.1004)
OKLCHoklch(44.81% 0.13 309.3)
XYZxyz(12.1463, 8.1311, 24.9694)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3C8A #5C8A3C
analogous
#433C8A #6A3C8A #8A3C83
triadic
#6A3C8A #8A6A3C #3C8A6A
tetradic
#6A3C8A #8A433C #5C8A3C #3C838A
square
#6A3C8A #8A433C #5C8A3C #3C838A
split-complementary
#6A3C8A #838A3C #3C8A43
monochromatic
#281735 #49295F #6A3C8A #8A50B3 #A77BC6

Accessibility & contrast

On white

8.00
#6A3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6A3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3C8A
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3C8A#FFFFFF#000000##FFFFFF
##6A3C8A1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8D
Deuteranopia (green-blind)
#345188
Tritanopia (blue-blind)
#664A5D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a3c8a;
/* rgb */ color: rgb(106, 60, 138);
/* oklch */ color: oklch(44.8% 0.130 309.3);
Tailwind
colors: {
  custom: {
    50: '#9774ac',
    500: '#6a3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #6a3c8a;
$custom-light: #9774ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3c8a",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 275.385,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44807,
    "c": 0.12984,
    "h": 309.3
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#6A3C8A
secondary
#8BAF73
accent
#CF5989
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6A3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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