#6C2D84#6C2D84

#6C2D84 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.148 H 315.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6C2D84
RGBrgb(108, 45, 132)
HSLhsl(283, 49%, 35%)
HSVhsv(283, 66%, 52%)
CMYKcmyk(18.2%, 65.9%, 0%, 48.2%)
CIE-LABlab(31.19, 42.37, -36.94)
CIE-LCHlch(31.19, 56.21, 318.92°)
OKLaboklab(42.51% 0.1051 -0.1037)
OKLCHoklch(42.51% 0.148 315.4)
XYZxyz(11.2869, 6.7313, 22.5300)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2D84 #45842D
analogous
#402D84 #6C2D84 #842D71
triadic
#6C2D84 #846C2D #2D846C
tetradic
#6C2D84 #84402D #45842D #2D7184
square
#6C2D84 #84402D #45842D #2D7184
split-complementary
#6C2D84 #71842D #2D8440
monochromatic
#210E29 #471D56 #6C2D84 #913DB2 #AD62C9

Accessibility & contrast

On white

8.95
#6C2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6C2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2D84
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2D84#FFFFFF#000000##FFFFFF
##6C2D841.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4687
Deuteranopia (green-blind)
#2C4B82
Tritanopia (blue-blind)
#6A3D54
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c2d84;
/* rgb */ color: rgb(108, 45, 132);
/* oklch */ color: oklch(42.5% 0.148 315.4);
Tailwind
colors: {
  custom: {
    50: '#996aa8',
    500: '#6c2d84',
    950: '#000000',
  },
}
SCSS
$custom: #6c2d84;
$custom-light: #996aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2d84",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 283.448,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4251,
    "c": 0.14764,
    "h": 315.4
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#6C2D84
secondary
#74B05D
accent
#D94F75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6C2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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