#6D328E#6D328E

#6D328E is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.151 H 311.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6D328E
RGBrgb(109, 50, 142)
HSLhsl(278, 48%, 38%)
HSVhsv(278, 65%, 56%)
CMYKcmyk(23.2%, 64.8%, 0%, 44.3%)
CIE-LABlab(32.89, 42.38, -40.39)
CIE-LCHlch(32.89, 58.55, 316.37°)
OKLaboklab(43.98% 0.0998 -0.1138)
OKLCHoklch(43.98% 0.151 311.3)
XYZxyz(12.3289, 7.4857, 26.3814)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D328E #538E32
analogous
#3F328E #6D328E #8E3281
triadic
#6D328E #8E6D32 #328E6D
tetradic
#6D328E #8E3F32 #538E32 #32818E
square
#6D328E #8E3F32 #538E32 #32818E
split-complementary
#6D328E #818E32 #328E3F
monochromatic
#281233 #4A2261 #6D328E #9042BB #AA6ECC

Accessibility & contrast

On white

8.41
#6D328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6D328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D328E
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D328E#FFFFFF#000000##FFFFFF
##6D328E1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054B91
Deuteranopia (green-blind)
#294E8C
Tritanopia (blue-blind)
#69445B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d328e;
/* rgb */ color: rgb(109, 50, 142);
/* oklch */ color: oklch(44.0% 0.151 311.3);
Tailwind
colors: {
  custom: {
    50: '#9a6eb0',
    500: '#6d328e',
    950: '#000000',
  },
}
SCSS
$custom: #6d328e;
$custom-light: #9a6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d328e",
  "rgb": {
    "r": 109,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 278.478,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43977,
    "c": 0.15137,
    "h": 311.3
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#6D328E
secondary
#83B468
accent
#D85081
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6D328E

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

Preview Lab → · Contrast checker → · Palette generator →

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