#6D348C#6D348C

#6D348C is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.1% C 0.146 H 311.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#6D348C
RGBrgb(109, 52, 140)
HSLhsl(279, 46%, 38%)
HSVhsv(279, 63%, 55%)
CMYKcmyk(22.1%, 62.9%, 0%, 45.1%)
CIE-LABlab(33.14, 40.88, -38.76)
CIE-LCHlch(33.14, 56.34, 316.52°)
OKLaboklab(44.12% 0.0973 -0.109)
OKLCHoklch(44.12% 0.146 311.8)
XYZxyz(12.2674, 7.6009, 25.6268)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D348C #538C34
analogous
#41348C #6D348C #8C347F
triadic
#6D348C #8C6D34 #348C6D
tetradic
#6D348C #8C4134 #538C34 #347F8C
square
#6D348C #8C4134 #538C34 #347F8C
split-complementary
#6D348C #7F8C34 #348C41
monochromatic
#281333 #4A235F #6D348C #9045B9 #AA70CA

Accessibility & contrast

On white

8.33
#6D348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6D348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D348C
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D348C#FFFFFF#000000##FFFFFF
##6D348C1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114B8F
Deuteranopia (green-blind)
#2D4F8A
Tritanopia (blue-blind)
#69455B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d348c;
/* rgb */ color: rgb(109, 52, 140);
/* oklch */ color: oklch(44.1% 0.146 311.8);
Tailwind
colors: {
  custom: {
    50: '#9a6fae',
    500: '#6d348c',
    950: '#000000',
  },
}
SCSS
$custom: #6d348c;
$custom-light: #9a6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#6d348c",
  "rgb": {
    "r": 109,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 278.864,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44117,
    "c": 0.14613,
    "h": 311.8
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#6D348C
secondary
#83B26A
accent
#D55281
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6D348C

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

Preview Lab → · Contrast checker → · Palette generator →

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