#6C207E#6C207E

#6C207E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.159 H 319.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#6C207E
RGBrgb(108, 32, 126)
HSLhsl(289, 59%, 31%)
HSVhsv(289, 75%, 49%)
CMYKcmyk(14.3%, 74.6%, 0%, 50.6%)
CIE-LABlab(28.72, 46.92, -37.14)
CIE-LCHlch(28.72, 59.84, 321.64°)
OKLaboklab(40.61% 0.1206 -0.1042)
OKLCHoklch(40.61% 0.159 319.2)
XYZxyz(10.4663, 5.7280, 20.2889)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C207E #327E20
analogous
#3D207E #6C207E #7E2061
triadic
#6C207E #7E6C20 #207E6C
tetradic
#6C207E #7E3D20 #327E20 #20617E
square
#6C207E #7E3D20 #327E20 #20617E
split-complementary
#6C207E #617E20 #207E3D
monochromatic
#18071C #42144D #6C207E #962CAF #B648D0

Accessibility & contrast

On white

9.79
#6C207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6C207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C207E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C207E#FFFFFF#000000##FFFFFF
##6C207E1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#27467C
Tritanopia (blue-blind)
#6C324D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c207e;
/* rgb */ color: rgb(108, 32, 126);
/* oklch */ color: oklch(40.6% 0.159 319.2);
Tailwind
colors: {
  custom: {
    50: '#9964a4',
    500: '#6c207e',
    950: '#000000',
  },
}
SCSS
$custom: #6c207e;
$custom-light: #9964a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c207e",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 288.511,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40611,
    "c": 0.15933,
    "h": 319.2
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#6C207E
secondary
#5DB149
accent
#E34563
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6C207E

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

Preview Lab → · Contrast checker → · Palette generator →

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