#6C2182#6C2182

#6C2182 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.162 H 317.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#6C2182
RGBrgb(108, 33, 130)
HSLhsl(286, 60%, 32%)
HSVhsv(286, 75%, 51%)
CMYKcmyk(16.9%, 74.6%, 0%, 49%)
CIE-LABlab(29.13, 47.34, -38.99)
CIE-LCHlch(29.13, 61.33, 320.52°)
OKLaboklab(40.99% 0.1192 -0.1096)
OKLCHoklch(40.99% 0.162 317.4)
XYZxyz(10.7569, 5.8880, 21.6846)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2182 #378221
analogous
#3C2182 #6C2182 #822168
triadic
#6C2182 #826C21 #21826C
tetradic
#6C2182 #823C21 #378221 #216882
square
#6C2182 #823C21 #378221 #216882
split-complementary
#6C2182 #688221 #21823C
monochromatic
#1B0820 #431551 #6C2182 #952DB3 #B34CD2

Accessibility & contrast

On white

9.64
#6C2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6C2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2182
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2182#FFFFFF#000000##FFFFFF
##6C21821.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#244780
Tritanopia (blue-blind)
#6B354F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c2182;
/* rgb */ color: rgb(108, 33, 130);
/* oklch */ color: oklch(41.0% 0.162 317.4);
Tailwind
colors: {
  custom: {
    50: '#9964a7',
    500: '#6c2182',
    950: '#000000',
  },
}
SCSS
$custom: #6c2182;
$custom-light: #9964a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2182",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 286.392,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40991,
    "c": 0.16188,
    "h": 317.4
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#6C2182
secondary
#62B44A
accent
#E34569
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6C2182

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

Preview Lab → · Contrast checker → · Palette generator →

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