#6C2185#6C2185

#6C2185 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.165 H 316.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#6C2185
RGBrgb(108, 33, 133)
HSLhsl(285, 60%, 33%)
HSVhsv(285, 75%, 52%)
CMYKcmyk(18.8%, 75.2%, 0%, 47.8%)
CIE-LABlab(29.34, 47.96, -40.53)
CIE-LCHlch(29.34, 62.79, 319.80°)
OKLaboklab(41.21% 0.1188 -0.1141)
OKLCHoklch(41.21% 0.165 316.2)
XYZxyz(10.9612, 5.9697, 22.7606)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2185 #3A8521
analogous
#3A2185 #6C2185 #85216C
triadic
#6C2185 #856C21 #21856C
tetradic
#6C2185 #853A21 #3A8521 #216C85
square
#6C2185 #853A21 #3A8521 #216C85
split-complementary
#6C2185 #6C8521 #21853A
monochromatic
#1C0923 #441554 #6C2185 #942DB6 #B24DD3

Accessibility & contrast

On white

9.57
#6C2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2185
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2185#FFFFFF#000000##FFFFFF
##6C21851.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#204783
Tritanopia (blue-blind)
#6A3651
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c2185;
/* rgb */ color: rgb(108, 33, 133);
/* oklch */ color: oklch(41.2% 0.165 316.2);
Tailwind
colors: {
  custom: {
    50: '#9a64a9',
    500: '#6c2185',
    950: '#000000',
  },
}
SCSS
$custom: #6c2185;
$custom-light: #9a64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2185",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 285,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41205,
    "c": 0.16473,
    "h": 316.2
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#6C2185
secondary
#66B64C
accent
#E3446C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C2185

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

Preview Lab → · Contrast checker → · Palette generator →

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