#6C2F87#6C2F87

#6C2F87 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.0% C 0.148 H 313.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6C2F87
RGBrgb(108, 47, 135)
HSLhsl(282, 48%, 36%)
HSVhsv(282, 65%, 53%)
CMYKcmyk(20%, 65.2%, 0%, 47.1%)
CIE-LABlab(31.74, 42.05, -37.92)
CIE-LCHlch(31.74, 56.62, 317.96°)
OKLaboklab(42.97% 0.1025 -0.1065)
OKLCHoklch(42.97% 0.148 313.9)
XYZxyz(11.5733, 6.9708, 23.6528)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2F87 #4A872F
analogous
#402F87 #6C2F87 #872F76
triadic
#6C2F87 #876C2F #2F876C
tetradic
#6C2F87 #87402F #4A872F #2F7687
square
#6C2F87 #87402F #4A872F #2F7687
split-complementary
#6C2F87 #76872F #2F8740
monochromatic
#230F2C #481F5A #6C2F87 #903FB4 #AB66CA

Accessibility & contrast

On white

8.77
#6C2F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6C2F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2F87
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2F87#FFFFFF#000000##FFFFFF
##6C2F871.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A478A
Deuteranopia (green-blind)
#2B4C85
Tritanopia (blue-blind)
#6A3F56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c2f87;
/* rgb */ color: rgb(108, 47, 135);
/* oklch */ color: oklch(43.0% 0.148 313.9);
Tailwind
colors: {
  custom: {
    50: '#996caa',
    500: '#6c2f87',
    950: '#000000',
  },
}
SCSS
$custom: #6c2f87;
$custom-light: #996caa;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2f87",
  "rgb": {
    "r": 108,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 281.591,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42972,
    "c": 0.14786,
    "h": 313.9
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#6C2F87
secondary
#79B161
accent
#D8507A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6C2F87

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

Preview Lab → · Contrast checker → · Palette generator →

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