#6D2189#6D2189

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

Color values

HEX#6D2189
RGBrgb(109, 33, 137)
HSLhsl(284, 61%, 33%)
HSVhsv(284, 76%, 54%)
CMYKcmyk(20.4%, 75.9%, 0%, 46.3%)
CIE-LABlab(29.78, 49.02, -42.31)
CIE-LCHlch(29.78, 64.75, 319.20°)
OKLaboklab(41.64% 0.1196 -0.1193)
OKLCHoklch(41.64% 0.169 315.1)
XYZxyz(11.3652, 6.1455, 24.2496)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2189 #3D8921
analogous
#392189 #6D2189 #892171
triadic
#6D2189 #896D21 #21896D
tetradic
#6D2189 #893921 #3D8921 #217189
square
#6D2189 #893921 #3D8921 #217189
split-complementary
#6D2189 #718921 #218939
monochromatic
#1F0926 #461558 #6D2189 #942DBA #B150D5

Accessibility & contrast

On white

9.42
#6D2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6D2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2189
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2189#FFFFFF#000000##FFFFFF
##6D21891.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#1D4887
Tritanopia (blue-blind)
#6B3853
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d2189;
/* rgb */ color: rgb(109, 33, 137);
/* oklch */ color: oklch(41.6% 0.169 315.1);
Tailwind
colors: {
  custom: {
    50: '#9b65ac',
    500: '#6d2189',
    950: '#000000',
  },
}
SCSS
$custom: #6d2189;
$custom-light: #9b65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2189",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 283.846,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4164,
    "c": 0.16894,
    "h": 315.1
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D2189

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

Preview Lab → · Contrast checker → · Palette generator →

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