#6A2184#6A2184

#6A2184 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.163 H 315.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#6A2184
RGBrgb(106, 33, 132)
HSLhsl(284, 60%, 32%)
HSVhsv(284, 75%, 52%)
CMYKcmyk(19.7%, 75%, 0%, 48.2%)
CIE-LABlab(28.95, 47.32, -40.55)
CIE-LCHlch(28.95, 62.31, 319.41°)
OKLaboklab(40.84% 0.1163 -0.1142)
OKLCHoklch(40.84% 0.163 315.5)
XYZxyz(10.6519, 5.8182, 22.3873)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2184 #3B8421
analogous
#382184 #6A2184 #84216D
triadic
#6A2184 #846A21 #21846A
tetradic
#6A2184 #843821 #3B8421 #216D84
square
#6A2184 #843821 #3B8421 #216D84
split-complementary
#6A2184 #6D8421 #218438
monochromatic
#1B0922 #431553 #6A2184 #912DB5 #AF4DD2

Accessibility & contrast

On white

9.71
#6A2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6A2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2184
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2184#FFFFFF#000000##FFFFFF
##6A21841.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#1F4682
Tritanopia (blue-blind)
#683651
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a2184;
/* rgb */ color: rgb(106, 33, 132);
/* oklch */ color: oklch(40.8% 0.163 315.5);
Tailwind
colors: {
  custom: {
    50: '#9864a8',
    500: '#6a2184',
    950: '#000000',
  },
}
SCSS
$custom: #6a2184;
$custom-light: #9864a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2184",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 284.242,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40844,
    "c": 0.163,
    "h": 315.5
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#6A2184
secondary
#67B64B
accent
#E3456E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A2184

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

Preview Lab → · Contrast checker → · Palette generator →

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