#6D2187#6D2187

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

Color values

HEX#6D2187
RGBrgb(109, 33, 135)
HSLhsl(285, 61%, 33%)
HSVhsv(285, 76%, 53%)
CMYKcmyk(19.3%, 75.6%, 0%, 47.1%)
CIE-LABlab(29.63, 48.60, -41.29)
CIE-LCHlch(29.63, 63.77, 319.65°)
OKLaboklab(41.5% 0.1199 -0.1163)
OKLCHoklch(41.5% 0.167 315.9)
XYZxyz(11.2230, 6.0886, 23.5010)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2187 #3B8721
analogous
#3A2187 #6D2187 #87216E
triadic
#6D2187 #876D21 #21876D
tetradic
#6D2187 #873A21 #3B8721 #216E87
square
#6D2187 #873A21 #3B8721 #216E87
split-complementary
#6D2187 #6E8721 #21873A
monochromatic
#1E0925 #451556 #6D2187 #952DB8 #B24FD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D2187#FFFFFF#000000##FFFFFF
##6D21871.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)
#00418A
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#6B3752
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d2187;
/* rgb */ color: rgb(109, 33, 135);
/* oklch */ color: oklch(41.5% 0.167 315.9);
Tailwind
colors: {
  custom: {
    50: '#9a65ab',
    500: '#6d2187',
    950: '#000000',
  },
}
SCSS
$custom: #6d2187;
$custom-light: #9a65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2187",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 284.706,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41495,
    "c": 0.16702,
    "h": 315.9
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D2187

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

Preview Lab → · Contrast checker → · Palette generator →

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