#6C218A#6C218A

#6C218A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.170 H 314.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#6C218A
RGBrgb(108, 33, 138)
HSLhsl(283, 61%, 34%)
HSVhsv(283, 76%, 54%)
CMYKcmyk(21.7%, 76.1%, 0%, 45.9%)
CIE-LABlab(29.69, 49.02, -43.07)
CIE-LCHlch(29.69, 65.25, 318.70°)
OKLaboklab(41.57% 0.1181 -0.1216)
OKLCHoklch(41.57% 0.17 314.2)
XYZxyz(11.3149, 6.1112, 24.6234)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C218A #3F8A21
analogous
#37218A #6C218A #8A2173
triadic
#6C218A #8A6C21 #218A6C
tetradic
#6C218A #8A3721 #3F8A21 #21738A
square
#6C218A #8A3721 #3F8A21 #21738A
split-complementary
#6C218A #738A21 #218A37
monochromatic
#1F0927 #451559 #6C218A #932DBB #AF50D5

Accessibility & contrast

On white

9.45
#6C218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6C218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C218A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C218A#FFFFFF#000000##FFFFFF
##6C218A1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#1A4888
Tritanopia (blue-blind)
#693854
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c218a;
/* rgb */ color: rgb(108, 33, 138);
/* oklch */ color: oklch(41.6% 0.170 314.2);
Tailwind
colors: {
  custom: {
    50: '#9a65ad',
    500: '#6c218a',
    950: '#000000',
  },
}
SCSS
$custom: #6c218a;
$custom-light: #9a65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c218a",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 282.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4157,
    "c": 0.16952,
    "h": 314.2
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#6C218A
secondary
#6DB94E
accent
#E54371
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C218A

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

Preview Lab → · Contrast checker → · Palette generator →

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