#6C2183#6C2183

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

Color values

HEX#6C2183
RGBrgb(108, 33, 131)
HSLhsl(286, 60%, 32%)
HSVhsv(286, 75%, 51%)
CMYKcmyk(17.6%, 74.8%, 0%, 48.6%)
CIE-LABlab(29.20, 47.54, -39.50)
CIE-LCHlch(29.20, 61.81, 320.28°)
OKLaboklab(41.06% 0.119 -0.1111)
OKLCHoklch(41.06% 0.163 317)
XYZxyz(10.8243, 5.9150, 22.0399)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2183 #388321
analogous
#3B2183 #6C2183 #832169
triadic
#6C2183 #836C21 #21836C
tetradic
#6C2183 #833B21 #388321 #216983
square
#6C2183 #833B21 #388321 #216983
split-complementary
#6C2183 #698321 #21833B
monochromatic
#1B0821 #441552 #6C2183 #942DB4 #B34CD2

Accessibility & contrast

On white

9.62
#6C2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2183
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2183#FFFFFF#000000##FFFFFF
##6C21831.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#234781
Tritanopia (blue-blind)
#6B3550
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c2183;
/* rgb */ color: rgb(108, 33, 131);
/* oklch */ color: oklch(41.1% 0.163 317.0);
Tailwind
colors: {
  custom: {
    50: '#9a64a8',
    500: '#6c2183',
    950: '#000000',
  },
}
SCSS
$custom: #6c2183;
$custom-light: #9a64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2183",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 285.918,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.16283,
    "h": 317
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#6C2183
secondary
#64B54B
accent
#E3456A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6C2183

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

Preview Lab → · Contrast checker → · Palette generator →

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