#6C347B#6C347B

#6C347B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 42.9% C 0.127 H 318.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6C347B
RGBrgb(108, 52, 123)
HSLhsl(287, 41%, 34%)
HSVhsv(287, 58%, 48%)
CMYKcmyk(12.2%, 57.7%, 0%, 51.8%)
CIE-LABlab(31.98, 36.77, -30.06)
CIE-LCHlch(31.98, 47.49, 320.74°)
OKLaboklab(42.91% 0.0954 -0.0836)
OKLCHoklch(42.91% 0.127 318.7)
XYZxyz(10.9870, 7.0746, 19.5218)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C347B #437B34
analogous
#49347B #6C347B #7B3467
triadic
#6C347B #7B6C34 #347B6C
tetradic
#6C347B #7B4934 #437B34 #34677B
square
#6C347B #7B4934 #437B34 #34677B
split-complementary
#6C347B #677B34 #347B49
monochromatic
#201025 #462250 #6C347B #9246A6 #AE6AC0

Accessibility & contrast

On white

8.70
#6C347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6C347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C347B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C347B#FFFFFF#000000##FFFFFF
##6C347B1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477D
Deuteranopia (green-blind)
#384D79
Tritanopia (blue-blind)
#6C3F52
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c347b;
/* rgb */ color: rgb(108, 52, 123);
/* oklch */ color: oklch(42.9% 0.127 318.7);
Tailwind
colors: {
  custom: {
    50: '#986ea1',
    500: '#6c347b',
    950: '#000000',
  },
}
SCSS
$custom: #6c347b;
$custom-light: #986ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c347b",
  "rgb": {
    "r": 108,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 287.324,
    "s": 40.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4291,
    "c": 0.12686,
    "h": 318.7
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

primary
#6C347B
secondary
#71A863
accent
#D05771
background
#F9F6FA
surface
#F2ECF3
border
#CCC7CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6C347B

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

Preview Lab → · Contrast checker → · Palette generator →

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