#6C247E#6C247E

#6C247E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.154 H 318.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#6C247E
RGBrgb(108, 36, 126)
HSLhsl(288, 56%, 32%)
HSVhsv(288, 71%, 49%)
CMYKcmyk(14.3%, 71.4%, 0%, 50.6%)
CIE-LABlab(29.30, 45.25, -36.20)
CIE-LCHlch(29.30, 57.95, 321.34°)
OKLaboklab(41.03% 0.1162 -0.1014)
OKLCHoklch(41.03% 0.154 318.9)
XYZxyz(10.5806, 5.9567, 20.3271)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C247E #367E24
analogous
#3F247E #6C247E #7E2463
triadic
#6C247E #7E6C24 #247E6C
tetradic
#6C247E #7E3F24 #367E24 #24637E
square
#6C247E #7E3F24 #367E24 #24637E
split-complementary
#6C247E #637E24 #247E3F
monochromatic
#1A091F #43164E #6C247E #9532AE #B450CD

Accessibility & contrast

On white

9.58
#6C247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6C247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C247E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C247E#FFFFFF#000000##FFFFFF
##6C247E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#2A477C
Tritanopia (blue-blind)
#6C354E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c247e;
/* rgb */ color: rgb(108, 36, 126);
/* oklch */ color: oklch(41.0% 0.154 318.9);
Tailwind
colors: {
  custom: {
    50: '#9965a4',
    500: '#6c247e',
    950: '#000000',
  },
}
SCSS
$custom: #6c247e;
$custom-light: #9965a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c247e",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 288,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41031,
    "c": 0.15425,
    "h": 318.9
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#6C247E
secondary
#61B04E
accent
#DF4967
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6C247E

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

Preview Lab → · Contrast checker → · Palette generator →

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