#6C2186#6C2186

#6C2186 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.166 H 315.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#6C2186
RGBrgb(108, 33, 134)
HSLhsl(285, 60%, 33%)
HSVhsv(285, 75%, 53%)
CMYKcmyk(19.4%, 75.4%, 0%, 47.5%)
CIE-LABlab(29.41, 48.17, -41.04)
CIE-LCHlch(29.41, 63.28, 319.57°)
OKLaboklab(41.28% 0.1187 -0.1156)
OKLCHoklch(41.28% 0.166 315.8)
XYZxyz(11.0306, 5.9975, 23.1262)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2186 #3B8621
analogous
#392186 #6C2186 #86216E
triadic
#6C2186 #866C21 #21866C
tetradic
#6C2186 #863921 #3B8621 #216E86
square
#6C2186 #863921 #3B8621 #216E86
split-complementary
#6C2186 #6E8621 #218639
monochromatic
#1D0924 #441555 #6C2186 #942DB7 #B14ED3

Accessibility & contrast

On white

9.55
#6C2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6C2186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2186
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2186#FFFFFF#000000##FFFFFF
##6C21861.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#1F4784
Tritanopia (blue-blind)
#6A3752
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c2186;
/* rgb */ color: rgb(108, 33, 134);
/* oklch */ color: oklch(41.3% 0.166 315.8);
Tailwind
colors: {
  custom: {
    50: '#9a64aa',
    500: '#6c2186',
    950: '#000000',
  },
}
SCSS
$custom: #6c2186;
$custom-light: #9a64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2186",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 284.554,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41278,
    "c": 0.16569,
    "h": 315.8
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#6C2186
secondary
#68B74C
accent
#E4446D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C2186

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

Preview Lab → · Contrast checker → · Palette generator →

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