#6C348F#6C348F

#6C348F is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.2% C 0.149 H 310.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6C348F
RGBrgb(108, 52, 143)
HSLhsl(277, 47%, 38%)
HSVhsv(277, 64%, 56%)
CMYKcmyk(24.5%, 63.6%, 0%, 43.9%)
CIE-LABlab(33.19, 41.33, -40.52)
CIE-LCHlch(33.19, 57.88, 315.57°)
OKLaboklab(44.19% 0.0959 -0.1142)
OKLCHoklch(44.19% 0.149 310)
XYZxyz(12.3693, 7.6275, 26.8019)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C348F #578F34
analogous
#3E348F #6C348F #8F3484
triadic
#6C348F #8F6C34 #348F6C
tetradic
#6C348F #8F3E34 #578F34 #34848F
square
#6C348F #8F3E34 #578F34 #34848F
split-complementary
#6C348F #848F34 #348F3E
monochromatic
#281335 #4A2462 #6C348F #8E45BB #A972CC

Accessibility & contrast

On white

8.32
#6C348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6C348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C348F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C348F#FFFFFF#000000##FFFFFF
##6C348F1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094C92
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#67465C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c348f;
/* rgb */ color: rgb(108, 52, 143);
/* oklch */ color: oklch(44.2% 0.149 310.0);
Tailwind
colors: {
  custom: {
    50: '#996fb0',
    500: '#6c348f',
    950: '#000000',
  },
}
SCSS
$custom: #6c348f;
$custom-light: #996fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c348f",
  "rgb": {
    "r": 108,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 276.923,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44191,
    "c": 0.14913,
    "h": 310
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#6C348F
secondary
#87B46B
accent
#D65185
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6C348F

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

Preview Lab → · Contrast checker → · Palette generator →

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