#6C348E#6C348E

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

Color values

HEX#6C348E
RGBrgb(108, 52, 142)
HSLhsl(277, 46%, 38%)
HSVhsv(277, 63%, 56%)
CMYKcmyk(23.9%, 63.4%, 0%, 44.3%)
CIE-LABlab(33.13, 41.10, -40.01)
CIE-LCHlch(33.13, 57.36, 315.77°)
OKLaboklab(44.12% 0.0959 -0.1127)
OKLCHoklch(44.12% 0.148 310.4)
XYZxyz(12.2939, 7.5974, 26.4047)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C348E #568E34
analogous
#3F348E #6C348E #8E3483
triadic
#6C348E #8E6C34 #348E6C
tetradic
#6C348E #8E3F34 #568E34 #34838E
square
#6C348E #8E3F34 #568E34 #34838E
split-complementary
#6C348E #838E34 #348E3F
monochromatic
#281334 #4A2461 #6C348E #8E44BB #A971CB

Accessibility & contrast

On white

8.34
#6C348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C348E
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C348E#FFFFFF#000000##FFFFFF
##6C348E1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4B91
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#68455C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c348e;
/* rgb */ color: rgb(108, 52, 142);
/* oklch */ color: oklch(44.1% 0.148 310.4);
Tailwind
colors: {
  custom: {
    50: '#996fb0',
    500: '#6c348e',
    950: '#000000',
  },
}
SCSS
$custom: #6c348e;
$custom-light: #996fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c348e",
  "rgb": {
    "r": 108,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 277.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44123,
    "c": 0.14801,
    "h": 310.4
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#6C348E
secondary
#86B36A
accent
#D65284
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6C348E

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

Preview Lab → · Contrast checker → · Palette generator →

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