#6B2186#6B2186

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

Color values

HEX#6B2186
RGBrgb(107, 33, 134)
HSLhsl(284, 60%, 33%)
HSVhsv(284, 75%, 53%)
CMYKcmyk(20.1%, 75.4%, 0%, 47.5%)
CIE-LABlab(29.25, 47.96, -41.30)
CIE-LCHlch(29.25, 63.29, 319.26°)
OKLaboklab(41.13% 0.1174 -0.1164)
OKLCHoklch(41.13% 0.165 315.2)
XYZxyz(10.9096, 5.9351, 23.1206)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2186 #3C8621
analogous
#382186 #6B2186 #86216F
triadic
#6B2186 #866B21 #21866B
tetradic
#6B2186 #863821 #3C8621 #216F86
square
#6B2186 #863821 #3C8621 #216F86
split-complementary
#6B2186 #6F8621 #218638
monochromatic
#1D0924 #441555 #6B2186 #922DB7 #B04ED3

Accessibility & contrast

On white

9.60
#6B2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2186
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2186#FFFFFF#000000##FFFFFF
##6B21861.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#1E4784
Tritanopia (blue-blind)
#693752
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b2186;
/* rgb */ color: rgb(107, 33, 134);
/* oklch */ color: oklch(41.1% 0.165 315.2);
Tailwind
colors: {
  custom: {
    50: '#9964aa',
    500: '#6b2186',
    950: '#000000',
  },
}
SCSS
$custom: #6b2186;
$custom-light: #9964aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2186",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 283.96,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41133,
    "c": 0.16531,
    "h": 315.2
  },
  "luminance": 0.05935
}

Semantic roles & 50–950 ramp

primary
#6B2186
secondary
#69B74C
accent
#E4446F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B2186

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

Preview Lab → · Contrast checker → · Palette generator →

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