#6B2185#6B2185

#6B2185 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.164 H 315.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#6B2185
RGBrgb(107, 33, 133)
HSLhsl(284, 60%, 33%)
HSVhsv(284, 75%, 52%)
CMYKcmyk(19.5%, 75.2%, 0%, 47.8%)
CIE-LABlab(29.18, 47.75, -40.79)
CIE-LCHlch(29.18, 62.80, 319.49°)
OKLaboklab(41.06% 0.1175 -0.1149)
OKLCHoklch(41.06% 0.164 315.6)
XYZxyz(10.8402, 5.9074, 22.7550)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2185 #3B8521
analogous
#392185 #6B2185 #85216D
triadic
#6B2185 #856B21 #21856B
tetradic
#6B2185 #853921 #3B8521 #216D85
square
#6B2185 #853921 #3B8521 #216D85
split-complementary
#6B2185 #6D8521 #218539
monochromatic
#1C0923 #441554 #6B2185 #922DB6 #B04DD3

Accessibility & contrast

On white

9.63
#6B2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2185
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2185#FFFFFF#000000##FFFFFF
##6B21851.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#1F4783
Tritanopia (blue-blind)
#693651
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b2185;
/* rgb */ color: rgb(107, 33, 133);
/* oklch */ color: oklch(41.1% 0.164 315.6);
Tailwind
colors: {
  custom: {
    50: '#9964a9',
    500: '#6b2185',
    950: '#000000',
  },
}
SCSS
$custom: #6b2185;
$custom-light: #9964a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2185",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 284.4,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41061,
    "c": 0.16435,
    "h": 315.6
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#6B2185
secondary
#67B64C
accent
#E3446E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B2185

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

Preview Lab → · Contrast checker → · Palette generator →

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