#6B2086#6B2086

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

Color values

HEX#6B2086
RGBrgb(107, 32, 134)
HSLhsl(284, 61%, 33%)
HSVhsv(284, 76%, 53%)
CMYKcmyk(20.1%, 76.1%, 0%, 47.5%)
CIE-LABlab(29.11, 48.35, -41.53)
CIE-LCHlch(29.11, 63.74, 319.34°)
OKLaboklab(41.04% 0.1184 -0.1171)
OKLCHoklch(41.04% 0.166 315.3)
XYZxyz(10.8823, 5.8805, 23.1114)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2086 #3B8620
analogous
#382086 #6B2086 #86206E
triadic
#6B2086 #866B20 #20866B
tetradic
#6B2086 #863820 #3B8620 #206E86
square
#6B2086 #863820 #3B8620 #206E86
split-complementary
#6B2086 #6E8620 #208638
monochromatic
#1C0823 #441455 #6B2086 #922CB7 #B04CD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B2086#FFFFFF#000000##FFFFFF
##6B20861.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)
#004089
Deuteranopia (green-blind)
#1D4784
Tritanopia (blue-blind)
#693651
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b2086;
/* rgb */ color: rgb(107, 32, 134);
/* oklch */ color: oklch(41.0% 0.166 315.3);
Tailwind
colors: {
  custom: {
    50: '#9964aa',
    500: '#6b2086',
    950: '#000000',
  },
}
SCSS
$custom: #6b2086;
$custom-light: #9964aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2086",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 284.118,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41035,
    "c": 0.16648,
    "h": 315.3
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#6B2086
secondary
#67B74B
accent
#E5436E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B2086

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

Preview Lab → · Contrast checker → · Palette generator →

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