#6C247A#6C247A

#6C247A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.8% C 0.150 H 320.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#6C247A
RGBrgb(108, 36, 122)
HSLhsl(290, 54%, 31%)
HSVhsv(290, 70%, 48%)
CMYKcmyk(11.5%, 70.5%, 0%, 52.2%)
CIE-LABlab(29.05, 44.43, -34.09)
CIE-LCHlch(29.05, 56.00, 322.51°)
OKLaboklab(40.76% 0.1164 -0.0953)
OKLCHoklch(40.76% 0.15 320.7)
XYZxyz(10.3277, 5.8556, 18.9948)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C247A #327A24
analogous
#41247A #6C247A #7A245D
triadic
#6C247A #7A6C24 #247A6C
tetradic
#6C247A #7A4124 #327A24 #245D7A
square
#6C247A #7A4124 #327A24 #245D7A
split-complementary
#6C247A #5D7A24 #247A41
monochromatic
#18081B #42164B #6C247A #9632A9 #B64ECB

Accessibility & contrast

On white

9.67
#6C247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6C247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C247A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C247A#FFFFFF#000000##FFFFFF
##6C247A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7C
Deuteranopia (green-blind)
#2D4778
Tritanopia (blue-blind)
#6D334C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c247a;
/* rgb */ color: rgb(108, 36, 122);
/* oklch */ color: oklch(40.8% 0.150 320.7);
Tailwind
colors: {
  custom: {
    50: '#9965a1',
    500: '#6c247a',
    950: '#000000',
  },
}
SCSS
$custom: #6c247a;
$custom-light: #9965a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c247a",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 290.233,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40763,
    "c": 0.1504,
    "h": 320.7
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#6C247A
secondary
#5DAC4D
accent
#DE4A62
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6C247A

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

Preview Lab → · Contrast checker → · Palette generator →

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