#6B2184#6B2184

#6B2184 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.163 H 316.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#6B2184
RGBrgb(107, 33, 132)
HSLhsl(285, 60%, 32%)
HSVhsv(285, 75%, 52%)
CMYKcmyk(18.9%, 75%, 0%, 48.2%)
CIE-LABlab(29.11, 47.53, -40.28)
CIE-LCHlch(29.11, 62.31, 319.72°)
OKLaboklab(40.99% 0.1176 -0.1134)
OKLCHoklch(40.99% 0.163 316)
XYZxyz(10.7715, 5.8799, 22.3929)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2184 #3A8421
analogous
#392184 #6B2184 #84216C
triadic
#6B2184 #846B21 #21846B
tetradic
#6B2184 #843921 #3A8421 #216C84
square
#6B2184 #843921 #3A8421 #216C84
split-complementary
#6B2184 #6C8421 #218439
monochromatic
#1C0922 #431553 #6B2184 #932DB5 #B14DD2

Accessibility & contrast

On white

9.65
#6B2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6B2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2184
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2184#FFFFFF#000000##FFFFFF
##6B21841.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#204782
Tritanopia (blue-blind)
#693651
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b2184;
/* rgb */ color: rgb(107, 33, 132);
/* oklch */ color: oklch(41.0% 0.163 316.0);
Tailwind
colors: {
  custom: {
    50: '#9964a8',
    500: '#6b2184',
    950: '#000000',
  },
}
SCSS
$custom: #6b2184;
$custom-light: #9964a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2184",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 284.848,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40989,
    "c": 0.16339,
    "h": 316
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#6B2184
secondary
#66B64B
accent
#E3456D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B2184

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

Preview Lab → · Contrast checker → · Palette generator →

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