#6C287C#6C287C

#6C287C is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.4% C 0.147 H 319.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#6C287C
RGBrgb(108, 40, 124)
HSLhsl(289, 51%, 32%)
HSVhsv(289, 68%, 49%)
CMYKcmyk(12.9%, 67.7%, 0%, 51.4%)
CIE-LABlab(29.82, 43.04, -34.12)
CIE-LCHlch(29.82, 54.92, 321.60°)
OKLaboklab(41.36% 0.1115 -0.0954)
OKLCHoklch(41.36% 0.147 319.5)
XYZxyz(10.5808, 6.1615, 19.6968)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C287C #387C28
analogous
#42287C #6C287C #7C2862
triadic
#6C287C #7C6C28 #287C6C
tetradic
#6C287C #7C4228 #387C28 #28627C
square
#6C287C #7C4228 #387C28 #28627C
split-complementary
#6C287C #627C28 #287C42
monochromatic
#1B0A1F #44194E #6C287C #9437AA #B356C8

Accessibility & contrast

On white

9.41
#6C287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6C287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C287C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C287C#FFFFFF#000000##FFFFFF
##6C287C1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D427F
Deuteranopia (green-blind)
#2E497A
Tritanopia (blue-blind)
#6C374E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c287c;
/* rgb */ color: rgb(108, 40, 124);
/* oklch */ color: oklch(41.4% 0.147 319.5);
Tailwind
colors: {
  custom: {
    50: '#9967a2',
    500: '#6c287c',
    950: '#000000',
  },
}
SCSS
$custom: #6c287c;
$custom-light: #9967a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c287c",
  "rgb": {
    "r": 108,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 288.571,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.14675,
    "h": 319.5
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#6C287C
secondary
#64AD52
accent
#DB4D68
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6C287C

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

Preview Lab → · Contrast checker → · Palette generator →

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