#6E348C#6E348C

#6E348C is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.2% C 0.147 H 312.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6E348C
RGBrgb(110, 52, 140)
HSLhsl(280, 46%, 38%)
HSVhsv(280, 63%, 55%)
CMYKcmyk(21.4%, 62.9%, 0%, 45.1%)
CIE-LABlab(33.27, 41.14, -38.54)
CIE-LCHlch(33.27, 56.37, 316.87°)
OKLaboklab(44.25% 0.0987 -0.1083)
OKLCHoklch(44.25% 0.147 312.3)
XYZxyz(12.3912, 7.6647, 25.6326)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E348C #528C34
analogous
#42348C #6E348C #8C347E
triadic
#6E348C #8C6E34 #348C6E
tetradic
#6E348C #8C4234 #528C34 #347E8C
square
#6E348C #8C4234 #528C34 #347E8C
split-complementary
#6E348C #7E8C34 #348C42
monochromatic
#281333 #4B235F #6E348C #9145B9 #AB70CA

Accessibility & contrast

On white

8.29
#6E348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E348C
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E348C#FFFFFF#000000##FFFFFF
##6E348C1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8F
Deuteranopia (green-blind)
#2E508A
Tritanopia (blue-blind)
#6B445B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e348c;
/* rgb */ color: rgb(110, 52, 140);
/* oklch */ color: oklch(44.2% 0.147 312.3);
Tailwind
colors: {
  custom: {
    50: '#9a6fae',
    500: '#6e348c',
    950: '#000000',
  },
}
SCSS
$custom: #6e348c;
$custom-light: #9a6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#6e348c",
  "rgb": {
    "r": 110,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 279.545,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44246,
    "c": 0.14652,
    "h": 312.3
  },
  "luminance": 0.07664
}

Semantic roles & 50–950 ramp

primary
#6E348C
secondary
#82B26A
accent
#D5527F
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E348C

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

Preview Lab → · Contrast checker → · Palette generator →

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