#6C2189#6C2189

#6C2189 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.169 H 314.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#6C2189
RGBrgb(108, 33, 137)
HSLhsl(283, 61%, 33%)
HSVhsv(283, 76%, 54%)
CMYKcmyk(21.2%, 75.9%, 0%, 46.3%)
CIE-LABlab(29.62, 48.81, -42.57)
CIE-LCHlch(29.62, 64.76, 318.91°)
OKLaboklab(41.5% 0.1183 -0.1201)
OKLCHoklch(41.5% 0.169 314.6)
XYZxyz(11.2428, 6.0824, 24.2438)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2189 #3E8921
analogous
#382189 #6C2189 #892172
triadic
#6C2189 #896C21 #21896C
tetradic
#6C2189 #893821 #3E8921 #217289
square
#6C2189 #893821 #3E8921 #217289
split-complementary
#6C2189 #728921 #218938
monochromatic
#1E0926 #451558 #6C2189 #932DBA #B050D5

Accessibility & contrast

On white

9.47
#6C2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6C2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2189
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2189#FFFFFF#000000##FFFFFF
##6C21891.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#1B4887
Tritanopia (blue-blind)
#693853
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c2189;
/* rgb */ color: rgb(108, 33, 137);
/* oklch */ color: oklch(41.5% 0.169 314.6);
Tailwind
colors: {
  custom: {
    50: '#9a64ac',
    500: '#6c2189',
    950: '#000000',
  },
}
SCSS
$custom: #6c2189;
$custom-light: #9a64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2189",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 283.269,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41497,
    "c": 0.16856,
    "h": 314.6
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#6C2189
secondary
#6BB84E
accent
#E44470
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C2189

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

Preview Lab → · Contrast checker → · Palette generator →

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