#6C2A76#6C2A76

#6C2A76 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.2% C 0.138 H 322.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#6C2A76
RGBrgb(108, 42, 118)
HSLhsl(292, 48%, 31%)
HSVhsv(292, 64%, 46%)
CMYKcmyk(8.5%, 64.4%, 0%, 53.7%)
CIE-LABlab(29.79, 40.85, -30.37)
CIE-LCHlch(29.79, 50.90, 323.38°)
OKLaboklab(41.22% 0.1089 -0.0845)
OKLCHoklch(41.22% 0.138 322.2)
XYZxyz(10.2820, 6.1526, 17.7820)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2A76 #34762A
analogous
#462A76 #6C2A76 #762A5A
triadic
#6C2A76 #766C2A #2A766C
tetradic
#6C2A76 #76462A #34762A #2A5A76
square
#6C2A76 #76462A #34762A #2A5A76
split-complementary
#6C2A76 #5A762A #2A7646
monochromatic
#190A1C #431A49 #6C2A76 #953AA3 #B557C3

Accessibility & contrast

On white

9.42
#6C2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6C2A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2A76
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2A76#FFFFFF#000000##FFFFFF
##6C2A761.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4178
Deuteranopia (green-blind)
#334974
Tritanopia (blue-blind)
#6D364C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c2a76;
/* rgb */ color: rgb(108, 42, 118);
/* oklch */ color: oklch(41.2% 0.138 322.2);
Tailwind
colors: {
  custom: {
    50: '#98689e',
    500: '#6c2a76',
    950: '#000000',
  },
}
SCSS
$custom: #6c2a76;
$custom-light: #98689e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2a76",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 292.105,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41224,
    "c": 0.13782,
    "h": 322.2
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#6C2A76
secondary
#5FA854
accent
#D75162
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6C2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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