#6C337C#6C337C

#6C337C is a dark, vivid purple. Relative luminance 0.070; OKLCH L 42.8% C 0.130 H 318.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6C337C
RGBrgb(108, 51, 124)
HSLhsl(287, 42%, 34%)
HSVhsv(287, 59%, 49%)
CMYKcmyk(12.9%, 58.9%, 0%, 51.4%)
CIE-LABlab(31.83, 37.53, -30.91)
CIE-LCHlch(31.83, 48.62, 320.52°)
OKLaboklab(42.82% 0.0969 -0.0861)
OKLCHoklch(42.82% 0.13 318.4)
XYZxyz(11.0058, 7.0115, 19.8385)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C337C #437C33
analogous
#48337C #6C337C #7C3368
triadic
#6C337C #7C6C33 #337C6C
tetradic
#6C337C #7C4833 #437C33 #33687C
square
#6C337C #7C4833 #437C33 #33687C
split-complementary
#6C337C #687C33 #337C48
monochromatic
#200F25 #462151 #6C337C #9245A7 #AE68C1

Accessibility & contrast

On white

8.74
#6C337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6C337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C337C
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C337C#FFFFFF#000000##FFFFFF
##6C337C1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#374D7A
Tritanopia (blue-blind)
#6C3E52
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c337c;
/* rgb */ color: rgb(108, 51, 124);
/* oklch */ color: oklch(42.8% 0.130 318.4);
Tailwind
colors: {
  custom: {
    50: '#986ea2',
    500: '#6c337c',
    950: '#000000',
  },
}
SCSS
$custom: #6c337c;
$custom-light: #986ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c337c",
  "rgb": {
    "r": 108,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 286.849,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42823,
    "c": 0.12962,
    "h": 318.4
  },
  "luminance": 0.07011
}

Semantic roles & 50–950 ramp

primary
#6C337C
secondary
#71A962
accent
#D25671
background
#F9F6FA
surface
#F2ECF3
border
#CCC7CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6C337C

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

Preview Lab → · Contrast checker → · Palette generator →

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