#6C2184#6C2184

#6C2184 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.164 H 316.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#6C2184
RGBrgb(108, 33, 132)
HSLhsl(285, 60%, 32%)
HSVhsv(285, 75%, 52%)
CMYKcmyk(18.2%, 75%, 0%, 48.2%)
CIE-LABlab(29.27, 47.75, -40.02)
CIE-LCHlch(29.27, 62.30, 320.04°)
OKLaboklab(41.13% 0.1189 -0.1126)
OKLCHoklch(41.13% 0.164 316.6)
XYZxyz(10.8924, 5.9422, 22.3985)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2184 #398421
analogous
#3B2184 #6C2184 #84216A
triadic
#6C2184 #846C21 #21846C
tetradic
#6C2184 #843B21 #398421 #216A84
square
#6C2184 #843B21 #398421 #216A84
split-complementary
#6C2184 #6A8421 #21843B
monochromatic
#1C0922 #441553 #6C2184 #942DB5 #B24DD2

Accessibility & contrast

On white

9.60
#6C2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6C2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2184
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2184#FFFFFF#000000##FFFFFF
##6C21841.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#214782
Tritanopia (blue-blind)
#6B3651
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c2184;
/* rgb */ color: rgb(108, 33, 132);
/* oklch */ color: oklch(41.1% 0.164 316.6);
Tailwind
colors: {
  custom: {
    50: '#9a64a8',
    500: '#6c2184',
    950: '#000000',
  },
}
SCSS
$custom: #6c2184;
$custom-light: #9a64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2184",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 285.455,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41134,
    "c": 0.16378,
    "h": 316.6
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#6C2184
secondary
#65B64B
accent
#E3456B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C2184

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

Preview Lab → · Contrast checker → · Palette generator →

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