#6C208E#6C208E

#6C208E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.174 H 312.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#6C208E
RGBrgb(108, 32, 142)
HSLhsl(281, 63%, 34%)
HSVhsv(281, 77%, 56%)
CMYKcmyk(23.9%, 77.5%, 0%, 44.3%)
CIE-LABlab(29.85, 50.27, -45.30)
CIE-LCHlch(29.85, 67.66, 317.98°)
OKLaboklab(41.77% 0.1185 -0.1281)
OKLCHoklch(41.77% 0.174 312.8)
XYZxyz(11.5825, 6.1745, 26.1676)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C208E #428E20
analogous
#35208E #6C208E #8E2079
triadic
#6C208E #8E6C20 #208E6C
tetradic
#6C208E #8E3520 #428E20 #20798E
square
#6C208E #8E3520 #428E20 #20798E
split-complementary
#6C208E #798E20 #208E35
monochromatic
#20092A #46155C #6C208E #922BC0 #AE51D8

Accessibility & contrast

On white

9.40
#6C208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C208E
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C208E#FFFFFF#000000##FFFFFF
##6C208E1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#12488C
Tritanopia (blue-blind)
#683A56
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c208e;
/* rgb */ color: rgb(108, 32, 142);
/* oklch */ color: oklch(41.8% 0.174 312.8);
Tailwind
colors: {
  custom: {
    50: '#9a64b0',
    500: '#6c208e',
    950: '#000000',
  },
}
SCSS
$custom: #6c208e;
$custom-light: #9a64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c208e",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 281.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41774,
    "c": 0.17447,
    "h": 312.8
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#6C208E
secondary
#70BB4F
accent
#E64274
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C208E

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

Preview Lab → · Contrast checker → · Palette generator →

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