#6C2188#6C2188

#6C2188 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.168 H 315.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6C2188
RGBrgb(108, 33, 136)
HSLhsl(284, 61%, 33%)
HSVhsv(284, 76%, 53%)
CMYKcmyk(20.6%, 75.7%, 0%, 46.7%)
CIE-LABlab(29.55, 48.59, -42.06)
CIE-LCHlch(29.55, 64.27, 319.12°)
OKLaboklab(41.42% 0.1184 -0.1186)
OKLCHoklch(41.42% 0.168 315)
XYZxyz(11.1714, 6.0538, 23.8678)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2188 #3D8821
analogous
#382188 #6C2188 #882170
triadic
#6C2188 #886C21 #21886C
tetradic
#6C2188 #883821 #3D8821 #217088
square
#6C2188 #883821 #3D8821 #217088
split-complementary
#6C2188 #708821 #218838
monochromatic
#1E0925 #451557 #6C2188 #932DB9 #B04FD4

Accessibility & contrast

On white

9.50
#6C2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6C2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2188
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2188#FFFFFF#000000##FFFFFF
##6C21881.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#1D4786
Tritanopia (blue-blind)
#6A3753
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c2188;
/* rgb */ color: rgb(108, 33, 136);
/* oklch */ color: oklch(41.4% 0.168 315.0);
Tailwind
colors: {
  custom: {
    50: '#9a64ab',
    500: '#6c2188',
    950: '#000000',
  },
}
SCSS
$custom: #6c2188;
$custom-light: #9a64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2188",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 283.689,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41423,
    "c": 0.16761,
    "h": 315
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#6C2188
secondary
#6AB84D
accent
#E4446F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C2188

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

Preview Lab → · Contrast checker → · Palette generator →

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