#6D2182#6D2182

#6D2182 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.162 H 317.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#6D2182
RGBrgb(109, 33, 130)
HSLhsl(287, 60%, 32%)
HSVhsv(287, 75%, 51%)
CMYKcmyk(16.2%, 74.6%, 0%, 49%)
CIE-LABlab(29.29, 47.56, -38.72)
CIE-LCHlch(29.29, 61.33, 320.85°)
OKLaboklab(41.14% 0.1205 -0.1088)
OKLCHoklch(41.14% 0.162 317.9)
XYZxyz(10.8792, 5.9511, 21.6904)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2182 #368221
analogous
#3C2182 #6D2182 #822167
triadic
#6D2182 #826D21 #21826D
tetradic
#6D2182 #823C21 #368221 #216782
square
#6D2182 #823C21 #368221 #216782
split-complementary
#6D2182 #678221 #21823C
monochromatic
#1B0820 #441551 #6D2182 #962DB3 #B54CD2

Accessibility & contrast

On white

9.59
#6D2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2182
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2182#FFFFFF#000000##FFFFFF
##6D21821.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#254780
Tritanopia (blue-blind)
#6C354F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d2182;
/* rgb */ color: rgb(109, 33, 130);
/* oklch */ color: oklch(41.1% 0.162 317.9);
Tailwind
colors: {
  custom: {
    50: '#9a64a7',
    500: '#6d2182',
    950: '#000000',
  },
}
SCSS
$custom: #6d2182;
$custom-light: #9a64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2182",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 287.01,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41138,
    "c": 0.1623,
    "h": 317.9
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#6D2182
secondary
#61B44A
accent
#E34567
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D2182

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

Preview Lab → · Contrast checker → · Palette generator →

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